Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
provoke
New Member

Count of Each Value & Total

Hi Guys,

 

In the below screenshot I'm not able to count the amount of times a human error, machine error (indicated by (x) ) etc, occurs at the different Locations & total is so I'm able to put in a pie chart & bar chart. Please help, thank you in advance. 

 

 

 

Screenshot (3).png

3 REPLIES 3
dilumd
Solution Supplier
Solution Supplier

Hi,

 

Take a duplicate of your table and you can unpivot your table in power query and then remove blank and you can use that table to create a pie chart.

 

11.png22.JPG

@dilumd this method does not give accurate results, I have tried this before. Need to figure out how to accuratley count so results are not skewed. 

Hi @provoke,

 

@dilumd's method is accurate. We can see it if we open the data label. Or you could use this measure.

 

Number =
COUNT ( Table1[Value] )

Count of Each Value & Total.jpg

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.