Reply
avatar user
Anonymous
Not applicable
Partially syndicated - Outbound

Data visualization challenge

Hello,

I have the following dataset, and I'm aiming to visualize it in the most intuitive way. I want to display the percentage of failed products for each product type per every indicator, with the option to filter by a specific product type or view all products types in the graph.


Serial Number Product typeIndicator 1Indicator 2Indicator 3Indicator 4Indicator 5Indicator 6Indicator 7Indicator 8Indicator 9Indicator 10
1APassPassFailPassFailPassFailFailPassPass
2AFailPassFailPassFailPassFailPassFailPass
3APassPassFailPassFailPassFailPassPassPass
4AFailPassFailPassFailPassFailPassFailPass
5AFailPassFailPassFailFailFailFailFailPass
6BPassPassPassPassFailPassFailPassPassPass
7BFailPassFailPassFailPassFailPassFailPass
8BPassPassPassPassFailPassPassPassPassPass
9BFailPassFailPassFailPassFailFailFailPass
10BFailPassFailPassFailFailPassPassFailPass
11CFailPassFailPassFailFailPassPassFailPass
12CFailPassFailPassFailFailPassPassFailPass
13CFailPassFailPassFailFailPassPassFailPass
14CFailPassFailPassFailFailFailFailFailPass
15CFailPassFailPassFailFailPassPassFailPass
16DFailPassFailPassFailFailPassPassFailPass
17DPassFailPassPassFailFailPassPassPassFail
18DFailFailFailPassFailFailFailPassFailFail
19DPassFailPassPassFailFailFailPassPassFail
20DFailFailPassPassFailFailPassPassFailFail

I attempted to create a different measure for each indicator and use it in a stacked bar chart. The Y-axis represents the product type, and the X-axis consists of the 10 different indicator measures. However, I find the graph difficult to read and not very intuitive.

 

Here are the DAX formulas for the percentage of failed indicators:

 

Indicator-1 =
CALCULATE(COUNT('Table'[Serial Number]), 'Table'[Indicator 1] = "Fail") /
COUNT('Table'[Serial Number])
Indicator-2 =
CALCULATE(COUNT('Table'[Serial Number]), 'Table'[Indicator 2] = "Fail") /
COUNT('Table'[Serial Number])

 

... Repeat for other indicators ...

 If you have any creative ideas, please share them. Thank you!

1 ACCEPTED SOLUTION
avatar user
Anonymous
Not applicable

Syndicated - Outbound

I was able to get this done using Radial Bar chart, I downloaded it and used it. I had 10 radial bar charts for each one of the indicators. Below I am showing the chart for indicator 1 only.

sarah931_0-1706301204441.png

 

View solution in original post

3 REPLIES 3
avatar user
Anonymous
Not applicable

Syndicated - Outbound

I was able to get this done using Radial Bar chart, I downloaded it and used it. I had 10 radial bar charts for each one of the indicators. Below I am showing the chart for indicator 1 only.

sarah931_0-1706301204441.png

 

amitchandak
Super User
Super User

Syndicated - Outbound

@Anonymous , better to unpivot this table and have indicator on row. That will give a better model to solve the problem

 

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s


You can use stacked visual

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
avatar user
Anonymous
Not applicable

Syndicated - Outbound

Hey @amitchandak , it will be hard to unpivot the table because the actual data has millions of rows and around 12 indicators out of 75 existing columns.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)