web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Line break (Block) in ...
Power Apps
Answered

Line break (Block) in Gallery with condition

(0) ShareShare
ReportReport
Posted on by 158

I have a wrap count 3 gallery, SortByColumns with Tag columns.
Items = SortByColumns(Search(Filter(DataSource, Column), SearchText), TagColumn, Descending)

 

Is it possible that make line break in gallery control with condition?

LinTse_1-1676906562204.png

 

Thank you for taking the time to read my post.
Every help will be appreciated!

Categories:
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @LinTse,

    Could you please share a bit more about your Gallery? I need to detail that you how you configure your original data.

     

    Further, are there three rows which represent 3 records in your NOW table? Anyway, I don't get the data structure of your NOW table.

  • LinTse Profile Picture
    158 on at

    Hi @v-qiaqi-msft ,

    Thank you for your replied!

    My table is very simple,

    LinTse_0-1676992323734.png

    Now: wrap count 3 gallery sort by Title

    LinTse_1-1676992361169.png

     

    Need: wrap count 3 gallery, sort by Tag and line break, if possible

    LinTse_2-1676992439534.png

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @LinTse,

    If you want to display it in a Gallery, it could only be like as below:

    Title1

    Tag1

    Title2

    Tag2

    Title3

    Tag1

    Title4

    Tag1

    Title5

    Tag1

     

    To convert to your needed one, it looks like below:

    Title1

    Tag1

    Title3

    Tag1

    Title4

    Tag1

    Title5

    Tag1

    Title2

    Tag2

     

    We could make it if you want to break line among records in the Gallery, we could only break line on a single record.

  • LinTse Profile Picture
    158 on at

    Thank you for your reply!
    I will try to display it in a single record.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard