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

How to multiply a measure with a static number?

Hi all,

 

I'm quite new in this PowerBI world and I would like your help on a measure who can multiply the results of a measure with a static number. 

 

So far I created a measure to calculate the emission performance at anchor:

Performance at Anchor =
CALCULATE(SUMX( Emissions, Emissions[Efficiency Anchor] - Emissions[Anchor [ton/day]]]),Emissions[Efficiency Anchor] >0)
All the results of this measure need to be multiplied by 0.0000383561643 to get the number of trees saved.

Can't seem to figure out how to do this, please help!
 
Many thanks,
 
Sharon
1 ACCEPTED SOLUTION
Anand24
Super User
Super User

Hi @Anonymous ,

You simply need to multiply in the same way you do in excel.

Considering you above DAX is working, your new dax would be below:

Performance at Anchor =
CALCULATE(SUMX( Emissions, Emissions[Efficiency Anchor] - Emissions[Anchor [ton/day]]]),Emissions[Efficiency Anchor] >0) * 0.0000383561643

 

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

View solution in original post

2 REPLIES 2
Anand24
Super User
Super User

Hi @Anonymous ,

You simply need to multiply in the same way you do in excel.

Considering you above DAX is working, your new dax would be below:

Performance at Anchor =
CALCULATE(SUMX( Emissions, Emissions[Efficiency Anchor] - Emissions[Anchor [ton/day]]]),Emissions[Efficiency Anchor] >0) * 0.0000383561643

 

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

Anonymous
Not applicable

Simple as that, works like a gem! Thanks @Anand24  😊

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.