<?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 Var Formula to filter a column summary in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Var-Formula-to-filter-a-column-summary/m-p/3652641#M141507</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a var formula that can filter a column with the following measure structure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rev = Calculate(SUM(Table[Column]),'Table 2'[Column 2]="Filter")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 00:10:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-23T00:10:34Z</dc:date>
    <item>
      <title>Var Formula to filter a column summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Var-Formula-to-filter-a-column-summary/m-p/3652641#M141507</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a var formula that can filter a column with the following measure structure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rev = Calculate(SUM(Table[Column]),'Table 2'[Column 2]="Filter")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 00:10:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Var-Formula-to-filter-a-column-summary/m-p/3652641#M141507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-23T00:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Var Formula to filter a column summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Var-Formula-to-filter-a-column-summary/m-p/3653326#M141533</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If you want to create a measure that calculates the sum of a column (Column&lt;SPAN&gt;) from Table&lt;SPAN&gt; based on a filter condition in another table (Table 2&lt;SPAN&gt;), you can use the following DAX formula:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rev = CALCULATE(SUM('Table'[Column]), 'Table 2'[Column 2] = "Filter")&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like you're trying to create a measure in Power BI using the DAX (Data Analysis Expressions) language. If you want to create a measure that calculates the sum of a column (Column) from Table based on a filter condition in another table (Table 2), you can use the following DAX formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;DAX&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;Rev = CALCULATE(SUM('Table'[Column]), 'Table 2'[Column 2] = "Filter")&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this formula:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CALCULATE is a DAX function used to modify the context in which a formula is evaluated.&lt;/LI&gt;&lt;LI&gt;SUM('Table'[Column]) calculates the sum of the values in the specified column of 'Table'.&lt;/LI&gt;&lt;LI&gt;'Table 2'[Column 2] = "Filter" is the filter condition you want to apply. It filters 'Table 2' based on the value in 'Column 2' being equal to "Filter".&lt;P&gt;Make sure that the column names and table names match your actual data model. Adjust the names accordingly if they are different in your case.&lt;/P&gt;&lt;P&gt;Remember to replace 'Table' and 'Table 2' with the actual names of your tables and 'Column' and 'Column 2' with the actual column names.&lt;/P&gt;&lt;P&gt;If you encounter any issues or have additional requirements, feel free to provide more details, and I'll be happy to assist further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In case there is still a problem, please feel free and explain your issue in detail,&amp;nbsp;It will be my pleasure to assist you in any way I can.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 07:26:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Var-Formula-to-filter-a-column-summary/m-p/3653326#M141533</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2024-01-23T07:26:29Z</dc:date>
    </item>
  </channel>
</rss>

