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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
gazzo1967
Helper III
Helper III

It me??? Why different outcomes? Calculations with Measures, Columns and HArdcoded

Hi All
Why when i hard code a number in to a measure

for example BN PASSED% = SA_Full[BN count passed]/159*100
the outcome is as expected
but when i use a measure in place of the 159 where the measuee is the same number it changes the outcome?

regards Gary

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

HEllo @gazzo1967 ,

 

try this:

 

BN PASSED% =
Var passed = Divide(SA_Full[BN count passed],secondmeasure,0)
return
passed * 100

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

HEllo @gazzo1967 ,

 

try this:

 

BN PASSED% =
Var passed = Divide(SA_Full[BN count passed],secondmeasure,0)
return
passed * 100

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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