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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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

@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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

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.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.