Calculated Columns Formula in Power Pivot

fragment

New Member
Joined
Apr 27, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Reddit Screenshot 2024-05-23 204223.png


At first, I did a normal pivot table and added a calculated field (Price Per Unit) to calculate unit price (=Revenue/Qty) but then I discovered that calculated fields in normal pivot table will not subtotal correctly Price Per Unit under Krogers (should be 203.48), similar issue with Meijers. Saw someone mention being able to do it with data model and calculated columns.

So, I inserted the data into data model and used Power Pivot as you can see in the pic. But same issue when it came to subtotal using calculated columns' measures (=Revenue/Qty).

Any help would be greatly appreciated.

Thanks!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top