<?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: Measure based on measure in other table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/925167#M9307</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks that I don't need the measure since records with no "Total sales this year" and no "Total sales last year" and no "Estimated sales" are not displayed in the table.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 09:48:21 GMT</pubDate>
    <dc:creator>livios</dc:creator>
    <dc:date>2020-02-07T09:48:21Z</dc:date>
    <item>
      <title>Measure based on measure in other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/913869#M8792</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 tables with these columns/measures (there is a one to many relationship between accounts and salesorders):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;accounts&lt;/P&gt;&lt;P&gt;- column 'estimated_sales' (estimated sales value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;salesorders&lt;/P&gt;&lt;P&gt;- measure 'total_sales_this_year' =&amp;nbsp;&lt;SPAN&gt;sum(salesorders[amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- column 'amount' (sales amount for this order)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to create this overview table and I only want to show accounts which have estimated_sales &amp;gt; 0 or total_sales_this_year &amp;gt; 0:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;account name - estimatedsales - totalsalesthisyear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since you can't filter on 2 values with an 'or' relation I want to create a boolean measure 'has_sales_this_year ' in the account table so I can filter on this value but I can't figure out the correct syntax ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;has_sales_this_year = [estimated_sales] &amp;gt; 0 or salesorder[total_sales_this_year] &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 16:30:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/913869#M8792</guid>
      <dc:creator>livios</dc:creator>
      <dc:date>2020-01-28T16:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on measure in other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/914055#M8796</link>
      <description>&lt;P&gt;Hi livios,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the attachment and let me know;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://we.tl/t-8QELBXoolB" target="_blank"&gt;https://we.tl/t-8QELBXoolB&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 19:48:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/914055#M8796</guid>
      <dc:creator>avanderschilden</dc:creator>
      <dc:date>2020-01-28T19:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on measure in other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/914810#M8830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for the example but this is not what I need exactly. I need a boolean measure on the accounts table which indicates if accounts.estimated_sales &amp;gt; 0 or sales_orders.total_amount &amp;gt; 0.&lt;/P&gt;&lt;P&gt;The sales_orders table also has an intake date and I need to filter the total sales per account on year and/or month and the total_amount and boolean measure need to reflect the intake date filter.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 08:40:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/914810#M8830</guid>
      <dc:creator>livios</dc:creator>
      <dc:date>2020-01-29T08:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on measure in other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/914819#M8831</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share your sample data and expected output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/pravin-p-wattamwar" target="_blank"&gt;www.linkedin.com/in/pravin-p-wattamwar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If I resolve your problem Mark it as a solution and give kudos.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 08:48:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/914819#M8831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-29T08:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on measure in other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/915023#M8846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the example to explain what I want. In my example I want to be able to filter the "Total sales this year" grid so account C is not displayed because this account has no salesorders in 2019 and the estimated sales for this account is also 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="" href="https://we.tl/t-ZlS9x9L6sA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://we.tl/t-ZlS9x9L6sA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 11:18:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/915023#M8846</guid>
      <dc:creator>livios</dc:creator>
      <dc:date>2020-01-29T11:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Measure based on measure in other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/925167#M9307</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks that I don't need the measure since records with no "Total sales this year" and no "Total sales last year" and no "Estimated sales" are not displayed in the table.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 09:48:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-based-on-measure-in-other-table/m-p/925167#M9307</guid>
      <dc:creator>livios</dc:creator>
      <dc:date>2020-02-07T09:48:21Z</dc:date>
    </item>
  </channel>
</rss>

