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
Anonymous
Not applicable

Totals based on product variants (dimensions)

Hi all, 

 

I am realitively new to to Power Bi and while I have managed to get my main "totals" measures sorted, Total Sales, Total QTY, etc, I have come unstuck when it comes to showing correct values at the product variant level (Configuration, size, Colour).

 

All my totals are based on the simple SUMX function i.e 

Total Sales = SUMX('Sales Table', 'Sales Table'[INVOICE AMOUNT $$]).
When using this measure and other similar ones they show correctly correctly at the product level, however, when variants are brought in the values seem to show at the higher product aggregation. 
 
What do I need to do to flesh this Measure out in order to achive the correct outcome? Calculate, Calculatetable, filter??
 
Thanks for your help in advance. 
Joe
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the quick reply @Greg_Deckler , looks like I had my relationships all up the wop!!

 

It all seems to be working well now. 

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

Difficult to say without sample data. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

It is almost like your other dimensions are not connected/related to your fact table?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks for the quick reply @Greg_Deckler , looks like I had my relationships all up the wop!!

 

It all seems to be working well now. 

I had a feeling!!

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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