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
vitro
Regular Visitor

DAX non-additive measure

Hello, I'm new in DAX and looking for help since I'm out of options...

There's one table with non-additive measure which cannot be calculated and therefore it's provided for every level of product hierarchy separately:

 

Product HierarchyMeasureValue
ProductShare32
Product-SubProductShare62
Product-SubProduct-VariantShare42
Product2Share43
Product2-SubProduct2Share4
Product2-SubProduct2-Variant1Share32


Then there's lookup product table designed as follow:

 

Product HierarchyProduct Hierarchy L1Product Hierarchy L2Product Hierarchy L3
ProductProduct  
Product-SubProductProductSubProduct 
Product-SubProduct-VariantProductSubProductVariant
Product2Product2  
Product2-SubProduct2Product2SubProduct2 
Product2-SubProduct2-Variant1Product2SubProduct2Variant1


I need to create Measure which shows correct value for all levels of product hierachy in pivot table. It means that Product on L1 is showing share as 32, not as sum of SubProducts on L2 etc...

 

Many thanks for any hint...

1 ACCEPTED SOLUTION
vitro
Regular Visitor

I found the answer, thanks!

View solution in original post

3 REPLIES 3
vitro
Regular Visitor

I found the answer, thanks!

Hello

Did you found the answer?

I have the same issue in my project.

LivioLanzo
Solution Sage
Solution Sage

@vitro

 

could you show us your raw table along with expected results?

 

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

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.