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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
o59393
Post Prodigy
Post Prodigy

Incorrect total with dax measure

Hi all

 

I need to get the sum product of a column multiplied by a percentage. 

 

My dax measure called Demand by bottler (Year +2) should calculate the demand by location multiplied by the growth %.

 

Below it should do the sum product of :

144,272,773 * 8.4% +

130,889,871 * 1.09% +

60,227,857* 7.08% +

18,453,746 * 15.98% 

 

o59393_2-1692246894048.png

 

 

The dax I use is:

 

Demand by bottler (Year +2) = 

SUMX ( 
   VALUES ( 'SKU by line - Official'),
   SUM(
       'SKU by line - Official'[Demand by bottler]) *
       CALCULATE(1+MAX('Demand incremental - Simulation'[Year +1 (Growth %)]))
) 

 

How ever the result is giving me over 1 trillion, but should be around 380 million.

 

How can I get right the dax?

 

Thanks.

1 REPLY 1
mlsx4
Memorable Member
Memorable Member

Hi @o59393 

 

I don't know how are your measures defined, but what I have done is this:

 

mlsx4_0-1692254310007.png

 

Demand by bottler (Year +2) = 

SUMX ( 
   VALUES ( MyTable[Demand by bottler]),
    MyTable[Demand by bottler]+ (MyTable[Demand by bottler]* SUM(MyTable[Max of Year +1 (Growth %)]))
) 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.