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 / ForAll with 2 Gallerie...
Power Apps
Answered

ForAll with 2 Galleries to pivot a sharepoint list

(1) ShareShare
ReportReport
Posted on by 160

Dear all,

 

I'm builing an app which should show if my drivers have made their daily report or not. A kind of pivot table, in other words.

 

The data to be analyzed comes from a sharepoint list, with driver ID, date, and information about the daily work.

 

The screen to display the reports yes/no looks like this:

polo1604_0-1690143110209.png

I wanted to create a table or gallery for each driver in the row and each date in columns with yes/no or 1/0 or whatever to visualize the result. I tried with countrows after filtering my sharepoint list, but it seems that "double" ForAll is not possible?

 

Thanks a lot for your ideas or suggestions.

 

best regards

Paul

Categories:
  • narayan225 Profile Picture
    2,547 Moderator on at

    @polo1604 

     

    What are the lists that you are using and the columns and the data type that you have set up in SharePoint?

     

    Also, what formula are you trying to get this sorted?

     

    Cheers!

  • polo1604 Profile Picture
    160 on at

    Hi @narayan225 

     

    the sharepoint list has following columns

     

    DriverName: single text

    ReportDate: date

    other columns with text information

     

    I want to group the list items at driver level, and show a table with yes/no in each column of my screen, matching with the date. So if there is a data entry in the sharepoint list with the same date then "yes" and if no data entry at this date, then "no".

     

    I hope this is understandable

     

    Thanks for your help !

    Paul

  • narayan225 Profile Picture
    2,547 Moderator on at

    @polo1604 

     

    You can do this on PowerBI.

    narayan225_0-1690241288414.png

    Hope this helps.

    Cheers!

  • polo1604 Profile Picture
    160 on at

    Hi @narayan225 

     

    and how could I achieve this ?

     

    best regards

    Paul

  • Verified answer
    narayan225 Profile Picture
    2,547 Moderator on at

    @polo1604 

    Open PowerBi Desktop and then select SharePoint as your data source.

    narayan225_0-1690272250403.png

    After that, you can transform your data. I suggest you change the data type of date column to text.

    narayan225_1-1690272505809.png

    After that, you simply need to add matrix and select Drivers as rows and the Date as column and then Date as values.

    narayan225_2-1690272591322.png

    It should be all good after that.

    narayan225_3-1690272606495.png

    After you have made the report, you can save it publish it and if you need, you can also add it to canvas app.

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/how-to/build-powerbi-visual

     

    Hope this helps.

     

    Cheers!

  • polo1604 Profile Picture
    160 on at

    hi @narayan225 

    Power BI report is done, thanks a lot for your help.

    I cannot publish it to a powerapps canvas, will have to investigate why..

    best regards

    Paul

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard