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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
TomPatrick22
Frequent Visitor

How to calculate the GM% based on two different columns

Hi,

 

Please help create a condition to calculate the difference of two different version for my GM%.

 

See below illustration, my "vs Flash" and "vs AOP" is not getting the difference of my Actual, Flash and AOP.

TomPatrick22_0-1755604241946.png

 

Thanks,

Tom

1 ACCEPTED SOLUTION

Hi @TomPatrick22,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user for the issue worked? Is your issue resolved?

If not, as @FBergamaschi asked can you please provide the code in force now for GM%? So that we can look into the issue and provide you the best solution posiible.

 

Thanks and regards,

Anjan Kumar Chippa

View solution in original post

7 REPLIES 7
v-achippa
Community Support
Community Support

Hi @TomPatrick22,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @jaineshp and @FBergamaschi for the prompt response. 

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user for the issue worked? Is your issue resolved? or let us know if you need any further assistance.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @TomPatrick22,

 

We wanted to kindly follow up to check if the solution provided by the user for the issue worked? Is your issue resolved? or let us know if you need any further assistance.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @TomPatrick22,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user for the issue worked? Is your issue resolved?

If not, as @FBergamaschi asked can you please provide the code in force now for GM%? So that we can look into the issue and provide you the best solution posiible.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @TomPatrick22,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if your issue is resolved?

We are closing this thread for now, if you have any other issues please raise a new thread in the community forum, we are ready to assist you on that.

 

Thanks and regards,

Anjan Kumar Chippa

FBergamaschi
Solution Sage
Solution Sage

Please provide more information:

1 How is that visual arranged?

2 Are you using a calculation group?

3 Actual, Flash, AOP, vs Flash, vs AOP, are they calculation items? Or what?

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

OK thanks for the answer

 

To fix, then you need to redefine the measure GM%

 

What is the code in force now for GM%?

 

If I see that, I can fix it

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

 

Hi Francisco,

 

The GM% is a measures i created to calculate the %. The Actual, Flash, AOP, vs Flash and vs AOP are items i have in my column called version. 

 

Thanks for helping.

Tom

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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