<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to calculate the GM% based on two different columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4802289#M183709</link>
    <description>&lt;P&gt;OK thanks for the answer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix, then you need to redefine the measure GM%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the code in force now for GM%?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I see that, I can fix it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273" data-lia-user-login="me" class="lia-mention lia-mention-user"&gt;me&lt;/a&gt; in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 12:31:40 GMT</pubDate>
    <dc:creator>FBergamaschi</dc:creator>
    <dc:date>2025-08-20T12:31:40Z</dc:date>
    <item>
      <title>How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4801038#M183679</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help create a condition to calculate the difference of two different version for my GM%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below illustration, my "vs Flash" and "vs AOP" is not getting the difference of my Actual, Flash and AOP.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 11:51:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4801038#M183679</guid>
      <dc:creator>TomPatrick22</dc:creator>
      <dc:date>2025-08-19T11:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4801061#M183683</link>
      <description>&lt;P&gt;Please provide more information:&lt;/P&gt;&lt;P&gt;1 How is that visual arranged?&lt;/P&gt;&lt;P&gt;2 Are you using a calculation group?&lt;/P&gt;&lt;P&gt;3 Actual, Flash, AOP, vs Flash, vs AOP, are they calculation items? Or what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273" data-lia-user-login="me" class="lia-mention lia-mention-user"&gt;me&lt;/a&gt; in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 12:06:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4801061#M183683</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-08-19T12:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4801532#M183693</link>
      <description>&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 00:17:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4801532#M183693</guid>
      <dc:creator>TomPatrick22</dc:creator>
      <dc:date>2025-08-20T00:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4802289#M183709</link>
      <description>&lt;P&gt;OK thanks for the answer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix, then you need to redefine the measure GM%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the code in force now for GM%?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I see that, I can fix it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273" data-lia-user-login="me" class="lia-mention lia-mention-user"&gt;me&lt;/a&gt; in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 12:31:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4802289#M183709</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-08-20T12:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4805100#M183805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1338043" data-lia-user-login="TomPatrick22" class="lia-mention lia-mention-user"&gt;TomPatrick22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1284569" data-lia-user-login="jaineshp" class="lia-mention lia-mention-user"&gt;jaineshp&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;for the prompt response.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;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.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 13:23:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4805100#M183805</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-08-22T13:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4806905#M183855</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1338043" target="_blank"&gt;@TomPatrick22&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We wanted to kindly follow up to&amp;nbsp;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 13:23:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4806905#M183855</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-08-25T13:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4810383#M183966</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1338043" target="_blank" rel="noopener"&gt;@TomPatrick22&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution provided by the user for the issue worked? Is your issue resolved?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If not, as&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;asked can you please provide the&amp;nbsp;code in force now for GM%? So that we can look into the issue and provide you the best solution posiible.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 12:28:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4810383#M183966</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-09-05T12:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4824236#M184361</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1338043" data-lia-user-login="TomPatrick22" class="lia-mention lia-mention-user"&gt;TomPatrick22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if your issue is resolved?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 06:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4824236#M184361</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-09-12T06:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the GM% based on two different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4924151#M186905</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1338043" data-lia-user-login="TomPatrick22" class="lia-mention lia-mention-user"&gt;TomPatrick22&lt;/a&gt;&amp;nbsp; Please find the below solution&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;STRONG&gt;1. Create a measure for Sales:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Total Sales = SUM('YourTable'[Sales])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Create a measure for Cost:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Total Cost =&lt;/P&gt;&lt;P&gt;SUM('YourTable'[Cost])&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Create a measure for Gross Margin:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Gross Margin =&lt;/P&gt;&lt;P&gt;[Total Sales] - [Total Cost]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. Finally, create Gross Margin %:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Gross Margin % =&lt;/P&gt;&lt;P&gt;DIVIDE([Gross Margin], [Total Sales], 0)&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Jan 2026 10:09:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-GM-based-on-two-different-columns/m-p/4924151#M186905</guid>
      <dc:creator>Ray_Minds</dc:creator>
      <dc:date>2026-01-23T10:09:14Z</dc:date>
    </item>
  </channel>
</rss>

