Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
FAA9
Frequent Visitor

% calculation at subtotal level and difference calculation

Hi,

 

I need to see the subtotals at subtype-region level and calculate their difference vs one particular region. How do I do that?
All the columns below from W onwards are measures 

 

FAA9_0-1663051174131.png

 

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @FAA9 

 

Can you please paste some dummy data and measure formula of X & Z? In addition, where do you want to display the Diff % value (96-83)?

 

Best Regards,
Community Support Team _ Jing

Hi,

X & Z are basically being calculated at row level (lowest granularity) based on prior weeks data & summing up of inventories at different warehouses. They are a combination of other measures.
I wish to be able to see the diff value in the table on the right. 
I was able to use the pivot table calculation of show "difference vs Region" for Z vs X measure to show the difference by using UK as the base region, however, that difference is only visible if I have UK in the table and UK field is expanded. 
I want to be able to show that difference even if UK is not part of the selection at type and subtype level.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.