I have a SharePoint list containing NPS categories: Promoters, Passives, and Detractors. I created a pie chart in Power Apps to visually display this data. Additionally, I added a drop-down choice box related to the "Department" column in SharePoint.
When a user selects a department, the chart displays data only for the chosen department. Everything functions correctly. However, when I filter, for example, this sample department, it counts detractors instead of promoters, even though in the SharePoint list it's supposed to be Promoters.
The screen shot below, shows an accurate representation of the data:
But this screen shot below is wrong: In my sharepoint list, its promoter, but in the pie chart it puts it in as detractor.
Here's the code i have in the items properties of the pie chart.

Report
All responses (
Answers (