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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sarah-931
Helper II
Helper II

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
sarah-931
Helper II
Helper II

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
sarah-931
Helper II
Helper II

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

@sarah-931 , 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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.