Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi all,
I need some help.
I want to built 1 visual (stacked bar chart) with 2 field parameters.
The visual needs the possibillity to switch between absolute figures vs percentual, but also the possibillity to change the legend of the stacked bar.
The absolute figures formula is just 1 field, but the percentual formula is depending on the dimension of the legend, this is my formula when I don't have the possibillity to change the legend:
Unfortunately this isn't working properly, this is just the problem I also had.
Just look at the Y-axis of the visuals when selected percentual and legend-dim2:
The formula of the percentual measure is 'focused' on legend-dim1, so when legend-dim2 is selected, it doesn't work.
But I do not know how to fix it.
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 90 | |
| 49 | |
| 37 | |
| 31 | |
| 30 |