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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Display * instead of t...
Power Apps
Unanswered

Display * instead of the same column's value in consecutive data rows

(0) ShareShare
ReportReport
Posted on by

hi all,

instead of displaying the same value 3 times if a sorted gallery has 3 rows I would like to display only the first row's column value and all consecutive rows with *

Is that possible?

thx

 

2023-12-18_Pic013-MainScreen.GallerySmptomeUndMittel_Mehrfachdatensätze.png
Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @candide ,

     

    Please try to create a collection.

    vxiaochenmsft_0-1702955541543.png

    vxiaochenmsft_1-1702955553936.png

    Clear(Col);ForAll(ShowColumns(LIST46,"Title"),If(Title in Col.Title,Collect(Col,{Title:"*"}),Collect(Col,{Title:Title})))
    vxiaochenmsft_2-1702955579259.png

     

    vxiaochenmsft_3-1702955589141.png

     

    Best Regards,

    Wearsky

  • candide Profile Picture
    on at

    @v-xiaochen-msft 

    well it's been a while when I posted this question, now there's some time to answer to your suggestion.

    I got several errors using your technique. Maybe there's a slight difference as I'm not using a sharepoint list but a dataverse table. I set up a demo like this:

     

    The control to adapt has a text property

     

    ThisItem.Title

     

    candide_0-1711208979453.png

     

    the gallery has an Items property

     

    Col

     

     

    candide_1-1711209086298.png

     

    and the Screen02 has a OnVisible property

     

    Clear(Col);ForAll(ShowColumns(tblTest02,"tstSymptome"),If(Title2 in Col.Title,Collect(Col,{Title:"*"}),Collect(Col,{Title2:Title2})))

     

     

    candide_2-1711209285536.png

     

    I varied some values in this last case but no success.

    Still errors

    • ShowColumns(tblTest02,"tstSymptome")
      candide_3-1711209420495.png

      but the table has these columns:

      candide_4-1711209516287.png

      and I'm not sure with the Title property and the gallery control Title2.

      More ideas?

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard