<?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: DAX filter based on multiple table data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827369#M5843</link>
    <description>&lt;P&gt;Hi SaraMissBI,&lt;BR /&gt;&lt;BR /&gt;Thanks for the DAX measure. This is measure is now working. However, as you mentioned below about more dynamic measure. I would like to hear about this. As I will have multiple conditions like below and summing up each will consume more time. Could you help me in preparing measures with multiple conditions? For example.&lt;BR /&gt;The table and data structure will be the same. Conditions are:&lt;BR /&gt;&lt;SPAN&gt;(Year="2019" from period table and Budget="A1" from budget table) OR ( Year="2020" from period table and Budget="B1" from budget table) OR&amp;nbsp;(Year="2018" from period table and Budget="A1" from budget table) OR ( Year="2020" from period table and Budget="A1" from budget table)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your support.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 11:07:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-24T11:07:17Z</dc:date>
    <item>
      <title>DAX filter based on multiple table data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/826945#M5827</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;I have three tables.&lt;/P&gt;&lt;P&gt;1. DATA Table&lt;BR /&gt;Period&amp;nbsp; &amp;nbsp; &amp;nbsp;Amount&amp;nbsp; Budget&lt;/P&gt;&lt;P&gt;201901&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A1&lt;BR /&gt;202001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3000&amp;nbsp; &amp;nbsp; &amp;nbsp;B1&lt;BR /&gt;201901&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250&amp;nbsp; &amp;nbsp; &amp;nbsp; C1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Period Table:&lt;/P&gt;&lt;P&gt;Period&amp;nbsp; &amp;nbsp;Year&amp;nbsp; &amp;nbsp;Month&lt;BR /&gt;201901&amp;nbsp; 2019&amp;nbsp; &amp;nbsp;Jan&lt;BR /&gt;202001&amp;nbsp; &amp;nbsp;2020&amp;nbsp; Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Budget Table&lt;/P&gt;&lt;P&gt;Budget&amp;nbsp; &amp;nbsp;Budget_Name&lt;BR /&gt;A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Actual&lt;BR /&gt;B1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Budget&lt;BR /&gt;C1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Forecast&lt;BR /&gt;&lt;BR /&gt;Datatable is linked to Period and Budget table.&lt;BR /&gt;Could you please help me in calculating a single measure that sums of Amount in data table based on below criteria:&lt;/P&gt;&lt;P&gt;(Year="2019" from period table and Budget="A1" from budget table) OR ( Year="2020" from period table and Budget="B1" from budget table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your support.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 05:49:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/826945#M5827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-24T05:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: DAX filter based on multiple table data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827184#M5834</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; Will try if there is a better approach than this. For now you try this&lt;BR /&gt;CALCULATE(SUM(tblData[Amount]),FILTER(tblPeriod,tblPeriod[Year]=2019),FILTER(tblBudget,tblBudget[Budget]="A1"))+CALCULATE(SUM(tblData[Amount]),FILTER(tblPeriod,tblPeriod[Year]=2020),FILTER(tblBudget,tblBudget[Budget]="B1"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Oct 2019 08:32:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827184#M5834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-24T08:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: DAX filter based on multiple table data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827221#M5836</link>
      <description>&lt;P&gt;Hi&amp;nbsp;kpandey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try the following measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MeasureSingle = CALCULATE(SUM('Data Table'[Amount]);FILTER('Period Table';'Period Table'[Year]=2020);FILTER('Budget Table';'Budget Table'[Budget]="B1"))+CALCULATE(SUM('Data Table'[Amount]);FILTER('Period Table';'Period Table'[Year]=2019);FILTER('Budget Table';'Budget Table'[Budget]="A1"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It returns 3200 according to data you provided, so that will do the job.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If you need a measure that is more dynamic so that you can work with it on other data sets, please let me know.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Oct 2019 09:02:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827221#M5836</guid>
      <dc:creator>saraMissBI</dc:creator>
      <dc:date>2019-10-24T09:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX filter based on multiple table data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827362#M5842</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This measure is working.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 10:59:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827362#M5842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-24T10:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: DAX filter based on multiple table data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827369#M5843</link>
      <description>&lt;P&gt;Hi SaraMissBI,&lt;BR /&gt;&lt;BR /&gt;Thanks for the DAX measure. This is measure is now working. However, as you mentioned below about more dynamic measure. I would like to hear about this. As I will have multiple conditions like below and summing up each will consume more time. Could you help me in preparing measures with multiple conditions? For example.&lt;BR /&gt;The table and data structure will be the same. Conditions are:&lt;BR /&gt;&lt;SPAN&gt;(Year="2019" from period table and Budget="A1" from budget table) OR ( Year="2020" from period table and Budget="B1" from budget table) OR&amp;nbsp;(Year="2018" from period table and Budget="A1" from budget table) OR ( Year="2020" from period table and Budget="A1" from budget table)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 11:07:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/827369#M5843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-24T11:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX filter based on multiple table data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/829181#M5933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am glad my answer helped you. For me to help with making your measure more dynamic, I need to know what will control the conditions? is it for example a menu/slicer? If you are going to get the total for all possible cases then you won't need a measure just the amount will do the job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 16:46:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/829181#M5933</guid>
      <dc:creator>saraMissBI</dc:creator>
      <dc:date>2019-10-26T16:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX filter based on multiple table data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/832581#M6052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179989" data-lia-user-login="saraMissBI" class="lia-mention lia-mention-user"&gt;saraMissBI&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Thanks again for your response.&lt;BR /&gt;I am looking for the option without using slicers for the possible conditions. However, as you mentioned below on the way to get total for all the possible cases without using measure. I would love to hear on this.&lt;BR /&gt;Also, on my data table the amount filed is YTD. Period filed is in the "yyyymm" format with data type text. Are there any ways to get the monthly figures from the YTD figures for my data?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your support.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 13:00:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-filter-based-on-multiple-table-data/m-p/832581#M6052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-30T13:00:47Z</dc:date>
    </item>
  </channel>
</rss>

