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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.