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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.