<?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 Variance between values in same column based on specific category in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3734037#M145533</link>
    <description>&lt;P&gt;I think I need a DAX command but I am new and not sure the best way to accomplish my need.&lt;BR /&gt;&lt;BR /&gt;I have 2 columns "Values" and "Version". I need to calcuate the variance between the Acutals and the Budget for each vendor.&lt;BR /&gt;&lt;BR /&gt;Is this a measure I need to add or do I need to transform my data so its in different columns?&lt;BR /&gt;&lt;BR /&gt;Below is the chart I am using and need to add a 'Variance' Column too and will need to use the Variance data for other graphs as well&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;This is some of the file I am using to show how the data is uploaded.&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Thank you so much in advance for any assistance and advice.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 15:52:07 GMT</pubDate>
    <dc:creator>alycianw</dc:creator>
    <dc:date>2024-02-29T15:52:07Z</dc:date>
    <item>
      <title>Variance between values in same column based on specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3734037#M145533</link>
      <description>&lt;P&gt;I think I need a DAX command but I am new and not sure the best way to accomplish my need.&lt;BR /&gt;&lt;BR /&gt;I have 2 columns "Values" and "Version". I need to calcuate the variance between the Acutals and the Budget for each vendor.&lt;BR /&gt;&lt;BR /&gt;Is this a measure I need to add or do I need to transform my data so its in different columns?&lt;BR /&gt;&lt;BR /&gt;Below is the chart I am using and need to add a 'Variance' Column too and will need to use the Variance data for other graphs as well&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;This is some of the file I am using to show how the data is uploaded.&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Thank you so much in advance for any assistance and advice.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 15:52:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3734037#M145533</guid>
      <dc:creator>alycianw</dc:creator>
      <dc:date>2024-02-29T15:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Variance between values in same column based on specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3734317#M145545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="690280" data-lia-user-login="alycianw" class="lia-mention lia-mention-user"&gt;alycianw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that Actuals and Budget are two different sets of rows in the table. I would suggest pivoting the table, but I see there is something called as Forecast as well. If you think you can have actuals, budget and forecast for every unique row by pivoting you can do that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't want to pivot, you can try this DAX measure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Variance = 
VAR __Actual = CALCULATE(Table[Value],Table[Version]="Actuals")
VAR __Budget = CALCULATE(Table[Value],Table[Version]="Budget")
VAR __Variance = __Actual - __Budget
RETURN __Variance&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 29 Feb 2024 17:33:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3734317#M145545</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-02-29T17:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variance between values in same column based on specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3735128#M145580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="690280" data-lia-user-login="alycianw" class="lia-mention lia-mention-user"&gt;alycianw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did the solution work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, please accept as a solution!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 02:11:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3735128#M145580</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-03-01T02:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Variance between values in same column based on specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3740878#M145878</link>
      <description>&lt;P&gt;Currently it is not working I am still trying to get it to work for me. If/when it does I will let you know and accept it.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 19:20:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3740878#M145878</guid>
      <dc:creator>alycianw</dc:creator>
      <dc:date>2024-03-04T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Variance between values in same column based on specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3741122#M145898</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure Variance=&lt;/P&gt;&lt;P&gt;VAR __Actual = CALCULATE(Table[Value],Table[Version]="Actuals",allexcept(Table[Vendor])&lt;BR /&gt;VAR __Budget = CALCULATE(Table[Value],Table[Version]="Budget",allexcept(Table[Vendor])&lt;BR /&gt;VAR __Variance = __Actual - __Budget&lt;BR /&gt;RETURN __Variance&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 22:46:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/3741122#M145898</guid>
      <dc:creator>JamesFR06</dc:creator>
      <dc:date>2024-03-04T22:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variance between values in same column based on specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/5197903#M188199</link>
      <description>&lt;P class=""&gt;The accepted DAX solution is correct. For the use case you describe (Actuals vs Budget variance per vendor), the measure approach keeps the data model cleaner than transforming into separate columns.&lt;/P&gt;&lt;P class=""&gt;One thing to know for the future: as you add more metrics, each one needs its own set of measures (Actual, Budget, Variance, Variance %). For teams where Finance keeps requesting new metrics, this compounds fast.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Flexa Tables&lt;/STRONG&gt; on AppSource handles Actuals vs Budget comparison as a built-in column no DAX measures needed, works directly in the published report. Search "Flexa Tables" on AppSource if you want to explore an alternative approach.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2026 03:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/5197903#M188199</guid>
      <dc:creator>PBIdashboards</dc:creator>
      <dc:date>2026-06-15T03:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variance between values in same column based on specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/5209932#M188203</link>
      <description>&lt;P&gt;You don’t need to transform the data—just use a measure. Create separate measures for Actual and Budget using the **Version** column, then subtract: ```DAX Actuals = CALCULATE(SUM('Table'[Values]), 'Table'[Version] = "Actual") Budget = CALCULATE(SUM('Table'[Values]), 'Table'[Version] = "Budget") Variance = [Actuals] - [Budget] ``` Then use **Variance** in your visuals—it will stay dynamic with filters (vendor, etc.).&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 09:17:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variance-between-values-in-same-column-based-on-specific/m-p/5209932#M188203</guid>
      <dc:creator>carter_gray705</dc:creator>
      <dc:date>2026-06-17T09:17:21Z</dc:date>
    </item>
  </channel>
</rss>

