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
CookieNamtarn
Frequent Visitor

Quick measure : percentage different

Hello, everybody.

 

i try to calculate different between vaule1 and value2 for calculate percentage from value2 from example

i use quick measure : percentage different

ItemValue1 : [Actual Output]Value2 : [STD Output]%different
10.850.855-0.07%
22.060.855141.24%
34.593.84619.39%
AVG2.501.85235.14%

 

% difference =
VAR __BASELINE_VALUE = AVERAGE([STD Output])
VAR __VALUE_TO_COMPARE = AVERAGE([Actual Output])
RETURN
    IF(
        NOT ISBLANK(__VALUE_TO_COMPARE),
        DIVIDE(__VALUE_TO_COMPARE - __BASELINE_VALUE, __BASELINE_VALUE)
    )

 

when i use excel to calculate same data but %Different data of Item1,2,3 and average is not same in Power BI.

ItemValue1 : [Actual Output]Value2 : [STD Output]%different
10.850.855-0.58%
22.060.855140.94%
34.593.84619.34%
AVG2.501.8534.99%

 

I think it some a little different (decimal 2 digit) but i want to know why in power bi calculate don't same in calculator, what i misunderstand?

 

Thank you in advance.

1 REPLY 1
Anonymous
Not applicable

Hi @CookieNamtarn ,

 

Please try this measure.

% difference =  [Actual Output] - [STD Output]	

 

Quick measure is calculating the rate of change, but it seems that you only want change.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

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.