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
HarryB
Resolver I
Resolver I

Best way to round up or down a % figure after divide calculation

Hi,

 

I am calculation a conversion from MRL to MQL and from MRL to SAL.

 

I would like to round up or down the % figures. What would be the best way to do that.

 

This is my code. Would using the round function help? 

How would I add this in to my code.

Lead Conversion MRL to MQL = DIVIDE('Lead'[Lead MRL count],'Lead'[Lead MQL count])

 

HarryB_0-1670332206910.png

 

4 REPLIES 4
Greg_Deckler
Super User
Super User

@HarryB Try:

Lead Conversion MRL to MQL = ROUND(DIVIDE('Lead'[Lead MRL count],'Lead'[Lead MQL count]),5)

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

HI @Greg_Deckler ,

 

Thank you for your response.

 

I tried your solution but there was no change at all to the figures.

 

Would you be able to suggest something else which might help.

 

Kind regards,

 

HarryB

@Greg_Deckler 

 

This is what I would like to see.

 

Sum of Lead Conversions MRL to MQL

74%

35%

13%

60%

 

Does that help?

 

@HarryB What results are you expecting?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.