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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
hcze
Helper I
Helper I

Total rows

Hi, Is it possible to get the total rows without creating new category 'Total A+B' (and replicate the data)? 

Thanks,

hcze 

StoreProductt This MonthPrior Month
AProduct 1 2012
 Product 2 3043
 Product 3 32
 Product 4 45
 Product 5 2340
BProduct 1 54
 Product 2 305
 Product 3 35
 Product 4 25
 Product 5 235
Total A+BProduct 1 2516
 Product 2 6048
 Product 3 67
 Product 4 610
 Product 5 4645

 

 

2 REPLIES 2
harshnathani
Community Champion
Community Champion

HI @hcze ,

 

 

1.jpg2.JPG

 

 

Create 2 measures

 

Total A+B (This Month) = CALCULATE(SUM('Table'[This Month]),ALLEXCEPT('Table','Table'[Productt]))
 
 
Total A+B (Prior Month) = CALCULATE(SUM('Table'[Prior Month]),ALLEXCEPT('Table','Table'[Productt]))
 
Regards,

Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

Thanks @harshnathani .

I would like to be able to show them in one visual if it makes sense. I was thinking somesort of store hierarchy but not sure if it is possible.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors