Hi,
I am trying to create an app from a Sharepoint custom list. I want to create a simple column chart that says:
We have n1 number of records of category y1, n2 number of records of category y2 and n3 number of records of category y3.
Basically summarizing a long table in a "pivot table", so then I can create a column chart.
How can I do this?
Thanks!
Solved! Go to Solution.
I was able to make this work by following the approach listed in this thread: https://powerusers.microsoft.com/t5/Building-Power-Apps/Access-Parent-s-Gallery-Item-in-a-Nested-Gal...
In my case since I used the Distinct() approach that gdavenport recommended, it was awkward to create an ID field so instead I used the headers of both nested galleries to derive a value using the labels. In other words:
This was the result which is good enough for my situation. I'm not sure if it would be possible to prevent headers from being repeated on each row or to make it so a single horizontal scrollbar can scroll for all rows:
This worked for me using both a collection and a sharepoint list as a data source.
Hi @Wichowich ,
You can show data in a line, pie, or bar chart in PowerApps, learn how to do this here:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/use-line-pie-bar-chart
Regards,
Mona
Hi @v-monli-msft!
Thanks for the answer, unfortunately, this is not what I am looking for.
In Excel analogy, my data is raw, so I have many rows with the category name. Pie charts and bar charts cannot be applied to this data without consolidation or summary, which you accomplish with Pivots.
Thanks!
Hi @Wichowich have you seen the follwoing blog post?
https://eriksvensen.wordpress.com/category/pivottable-2/
It may help you acheive your needs.
@Anonymous
Having the same issue.
What I am trying to do is to embed a Power BI tile and display pivot table in Power BI.
The thing is Power BI is not refreshed in real time, user might struggling see how they have to wait for half hour for the data to be displayed
Hi,
One way we've overcome refresh issues for our PowerBi tiles within PowerApps is adding a button that utilizes a powerautomate flow to refresh data.
https://youtu.be/7vCD8Zu686Q << is a video on how to setup a button using a Post Request > API within PowerBi, but the same function can be added to a button in PowerApps.
Hope this helps,
Andrew
Hi did you resolve this? Thank you please share your solution.
Sadly, no
I was able to make this work by following the approach listed in this thread: https://powerusers.microsoft.com/t5/Building-Power-Apps/Access-Parent-s-Gallery-Item-in-a-Nested-Gal...
In my case since I used the Distinct() approach that gdavenport recommended, it was awkward to create an ID field so instead I used the headers of both nested galleries to derive a value using the labels. In other words:
This was the result which is good enough for my situation. I'm not sure if it would be possible to prevent headers from being repeated on each row or to make it so a single horizontal scrollbar can scroll for all rows:
This worked for me using both a collection and a sharepoint list as a data source.
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
215 | |
180 | |
138 | |
96 | |
82 |