March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hello,
I would like to create a graph like this:
The percentage is the precent "yes" from the seperate categories.
However, on power BI I can only show the percent of grand total or count. For example I only want the "yes" area on this bar chart shown AND it must maintatin the same percentage.
Any ideas would be lovely.
Here is some example data:
ID | In the last 12 months, was there something that prevented you from getting the medical care you needed? | Does every member in your household currently have health insurance? | On an average day, how many servings of fruit and vegetables do you eat? | On average, how many days per week do you exercise 30 minutes or more? | In the last two weeks, how many days have you felt sad or depressed? | In the last two weeks, how many days have you felt sad or depressed? | Income |
3 | No | Yes | 3 | 3-4 | 7-9 | No | More than $25,000 |
4 | No | Yes | 4 | 5 or more | None | No | More than $25,000 |
5 | No | Yes | 5 or more | None | Almost everyday | No | More than $25,000 |
6 | No | Yes | 3 | 2-3 | None | No | More than $25,000 |
7 | No | Yes | 1 | 2-3 | None | No | More than $25,000 |
8 | No | Yes | 2 | 1-2 | None | No | More than $25,000 |
9 | No | Yes | 2 | None | 1-2 | No | Less than $25,000 |
10 | No | Yes | 3 | 5 or more | 3-5 | No | Less than $25,000 |
11 | No | Yes | 3 | 5 or more | None | No | Less than $25,000 |
12 | No | Yes | 3 | 5 or more | None | No | Less than $25,000 |
Solved! Go to Solution.
@ryan_mayu I added a table to the original post! I figure it out though. I manipulated the ledgend a bit and made a measure.
where can i see the solution you post?
have you tried to use DAX to acheive that?
could you pls provide the sample data ?
Proud to be a Super User!
@ryan_mayu I have yet to try DAX because I am not sure how to show a measure in this way. I will add example data to the originalpost! Sorry for forgetting to do that. I am looking for the precent of "More than $25,000" and "Less than $25,000". Thank you.
pls see if this is what you want
Proud to be a Super User!
could you pls provide some sample data?
Proud to be a Super User!
@ryan_mayu I added a table to the original post! I figure it out though. I manipulated the ledgend a bit and made a measure.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
128 | |
90 | |
75 | |
56 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |