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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
agius
Regular Visitor

Measure not working

Hi,

 

Can someone help me understand why this Measure is not working?

 

(DIVIDE(
SUM('Adform - Devices'[NDC]),
SUM('Adform - Devices'[Impressions]))
) * 1000
 
Thanks for the help 🙂
1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

Hi @agius ,

 

Try simplifying it and see if you are getting the correct values.

 

Measure =

 

Var a = SUM('Adform - Devices'[NDC])

var b = SUM('Adform - Devices'[Impressions])

 

RETURN

 

//a

//b

 

DIVIDE(a,b) * 1000

 
 
See if your values of a and b are correct by uncommenting them one at a time
 
Regards,
Harsh Nathani

View solution in original post

3 REPLIES 3
harshnathani
Community Champion
Community Champion

Hi @agius ,

 

Try simplifying it and see if you are getting the correct values.

 

Measure =

 

Var a = SUM('Adform - Devices'[NDC])

var b = SUM('Adform - Devices'[Impressions])

 

RETURN

 

//a

//b

 

DIVIDE(a,b) * 1000

 
 
See if your values of a and b are correct by uncommenting them one at a time
 
Regards,
Harsh Nathani

@Phar Thanks so much! This worked like a charm!

Helpful resources

Announcements
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