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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Items do show in previ...
Power Apps
Unanswered

Items do show in preview but not in the gallery

(0) ShareShare
ReportReport
Posted on by 160

In this formula, iam grouping a table upon employee id's and sum their holiday entries:

 

wshalex123_0-1682624360967.png

 

In the preview the results are correct, but it does not display them in my gallery:

left control = Thiitem.cr811_employee & right control = Thisitem.DasIstDieSumme

wshalex123_1-1682624472162.png

 

Woudl appreciate any help.

 

Thanks a lot

Categories:
I have the same question (0)
  • mmollet Profile Picture
    3,187 on at
    Re: Items do show in preview but not in the gallery

    When I have done things like this is the past what I will do is make a gallery that holds all the filtered results that I want. That is where you can add rows and columns from wherever you need to. Then I make the gallery invisible and send it to the back of the frame. This is then used to do calculations on. Like you want total a column for example so in your blank where you want that total to be you would simply put:

    Text(Sum(GalleryName.AllItems, ColumnToSum),"#0.00")

    This would sum the column in the gallery and then format it and display it in the text box.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at
    Re: Items do show in preview but not in the gallery

    @wshalex123 A bit strange. Can you display the same thing in a DataTable and see if it shows up?

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • wshalex123 Profile Picture
    160 on at
    Re: Items do show in preview but not in the gallery

    @CNT Nope i already tried it with the data table, also not working there.

    @mmollet not working this way with your formula. I have to grou column1 and sum column 2 at the same time. In short, the origin table (Dataverse) looks like this:

     

    Employee1    1h

    Employee1    2h

    Employee2    2h

    Employee3    2h

    Employee3    1h

     

    ... first i group the employees and sum their hour value afterwards, so the result is:

     

    Employee1   3h

    Employee2   2h

    Employee3   3h

  • wshalex123 Profile Picture
    160 on at
    Re: Items do show in preview but not in the gallery

    I also tried do create a collection first and display it after with this formula:

    wshalex123_0-1683020770982.png

     

    Also does not display the items in the gallery but shows them in the preview. Can this be because of the datatype and the control  maybe?

    The column iam working with is a calulcated Decimal:

    wshalex123_1-1683021131722.png

     

     

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard