Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi. I created a stacked column chart to show customer credit (in dollars) over time. On the y-axis are dollars, and on the x-axis is the year. Each bar is broken down by reason the customer was credited.
Here is a simplified example of the chart:
Here is the underlying data:
I would like to modify the column chart so that all the amounts for a given year are normalized by SUM(SALES) for that year. The result would be a chart similar to the one shown above, except with percent (of sales) on the y-axis.
I tried to do this by creating a measure that performs Credit/Sales. However, if I use this measure as the 'Values' field in my column chart, I lose the ability to break down the column by reason. In order to see any data I must remove the 'Legend' field.
Is there a way to show Credit/Sales broken down by reason in my column chart? Thank you.
Solved! Go to Solution.
Hi @Anonymous ,
Based on my test, you could refer to below fromulas:
Create a calculated column:
Create below measure:
Measure = CALCULATE(SUM(Table1[Credit]))/CALCULATE(SUM(Table1[Column]))
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
Hi @Anonymous ,
Based on my test, you could refer to below fromulas:
Create a calculated column:
Create below measure:
Measure = CALCULATE(SUM(Table1[Credit]))/CALCULATE(SUM(Table1[Column]))
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He