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
Anonymous
Not applicable

PowerBI % difference measure

Hi, 

 

I would like to ask what is the equivalent of getting a % difference of two numbers in PowerBI measure? 

 

I am used to this on excel and would like to replicate it in PowerBI please.

 

(New Value - Old Value) / Old Value   

 

Thank you 

1 ACCEPTED SOLUTION

Hi,

Assuming Total and Outbound call are both measures in PBI Desktop, try this measure

Diff (%) = divide(([Outbound calls]-[Total]),[total])

Format this measure as %.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

9 REPLIES 9
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

I think it is the same.

Or, you please try the below.

 

percentage difference = divide ( new value - old value, old value, blank() )

 

Jihwan Kim

If this post helps, then please consider accept it as the solution to help the other members find it more quickly.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Anonymous
Not applicable

Thank you, I have tried your suggestion and its just not bringing the correct % 

 

Below is what I have in excel and I need the exact result in PowerBI, I have tried calculate and divide function. It brings result everytime but not the correct % 

 

Aziza_0-1616767959975.png

 

Hi,

Assuming Total and Outbound call are both measures in PBI Desktop, try this measure

Diff (%) = divide(([Outbound calls]-[Total]),[total])

Format this measure as %.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

This works! Thank you so much!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi, @Anonymous 

 

please kindly try the below.

 

percentage =
DIVIDE( SUM(Tablename[Outbound Calls]) - SUM(Tablename[Total]),SUM(Tablename[Total]), BLANK())
 
if still does not work, please kindly share the sample pbix file, then I can try to look into it to come up with a desirable solution.
 
Thank you.
 

Jihwan Kim

If this post helps, then please consider accept it as the solution to help the other members find it more quickly.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Anonymous
Not applicable

Hi @Jihwan_Kim 

 

Please see attahced a sample file. I tried and its just not giving me the correct %

 

I have added the % I require by calculating in excel in my sample file. Thank you so much 

 

https://drive.google.com/file/d/18hjL14yjIEd32T0hNh0dDWFz622TrrIj/view?usp=sharing

Hi, @Anonymous 

The link requires an access key.

Please check and let me know the public shared version.

Thank you.

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Anonymous
Not applicable

I have the result now. Thank you for your help

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.