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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.