Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Good Morning,
I am assuming that this is something very simple but I am new to Power BI and can't quite get past this one. I am trying to make a simple stacked chart with the Legend being a column that holds "Yes" and "No" and I want to see a column for the Count % Total and a column Balance % Total.
Is there an easy way to do this?
Thank you,
Jordan
Solved! Go to Solution.
Hi @jcloss13,
If I understand you correctly, I don't think there is an easy to to it currently. You may need to add you a new table(let's call it "NewTable") with a column(let's called it "NewColumn") which has two values("Count % Total", "Balance % Total") first, then use this column as Axis on the stacked bar chart.
You will also need to create a new measure to calculate "Count % Total" and "Balance % Total" according to the current Axis. Then use this measure as Value on chart. The formula below to create the measure is for your reference.
New Measure = IF ( HASONEVALUE ( NewTable[NewColumn] ), IF ( VALUES ( NewTable[NewColumn] ) = "Count % Total", [Count % Total], [Balance % Total] ) )
Regards
Hi @jcloss13,
If I understand you correctly, I don't think there is an easy to to it currently. You may need to add you a new table(let's call it "NewTable") with a column(let's called it "NewColumn") which has two values("Count % Total", "Balance % Total") first, then use this column as Axis on the stacked bar chart.
You will also need to create a new measure to calculate "Count % Total" and "Balance % Total" according to the current Axis. Then use this measure as Value on chart. The formula below to create the measure is for your reference.
New Measure = IF ( HASONEVALUE ( NewTable[NewColumn] ), IF ( VALUES ( NewTable[NewColumn] ) = "Count % Total", [Count % Total], [Balance % Total] ) )
Regards
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |