This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
In the example below, I have created a calculated column "Profit Per Unit" using the following expression:
Profit Per Unit = Divide('Titan_DMS qryNVunitsandGP'[Profit],('Titan_DMS qryNVunitsandGP'[Units]),0)
and this works perfectly at the table view level.
Division Franchise Model Units Profit Profit Per Unit
A Landrover Range Rover 10 30000 3000
A Jaguar F - Type 6 24000 4000
B Landrover Discovery 12 30000 2500
B Nissan Pulsar 6 24000 4000
C Nissan Pulsar 8 12000 1500
My problem arises when I try and create a line chart report and want to slice with filters for:
Division
Franchise
Model
and the result I am getting for these summaries is not correct.
It would appear that it is adding all the Per Unit figures together instead of having weighted averages.
I have only been using Power BI for a few days so please bear with me.
Hope you can help
Rollo
Solved! Go to Solution.
You need to add a measure instead.
You need to add a measure instead.
Hi v-chunz
This does not work for graphs.
It works fine in the table format but when you used the new measure "Profit per unit", it adds up all the individual Profit Per Unit calculations and displays the aggregate total on the line chart which is completely wrong.
Thanks v-chunz
This now works perfectly.
I hadn't appreciated the difference between adding a measure and adding a column.
Cheers
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 40 | |
| 36 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 75 | |
| 61 | |
| 34 | |
| 30 | |
| 25 |