<?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: Get a value with date and product filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1127005#M16647</link>
    <description>&lt;P&gt;Yes, I have found thank you&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 15:19:28 GMT</pubDate>
    <dc:creator>dexter2424</dc:creator>
    <dc:date>2020-05-28T15:19:28Z</dc:date>
    <item>
      <title>Get a value with date and product filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1103491#M16199</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new in Power BI, and I have tried so many functions, but none of them return me the right value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Amount&lt;/TD&gt;&lt;TD&gt;Start Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;01-01-2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;01-01-2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;TD&gt;01-05-2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;15-03-2020&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have the following:&lt;/P&gt;&lt;P&gt;SUM of the Product which are between 01-01-2019 and 01-01-2020, so A=100 , B =450, C is not in the list.&amp;nbsp;&lt;BR /&gt;After that I would like to divide the product sum with the Total sum of the products in the mentioned time range, so:&amp;nbsp;&lt;BR /&gt;100/550 and 450/550 what can gives me a percentage of the product distribution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have part success, but the hardest thing for me is divide it in a right time range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me, I would be appreciate!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;D.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 10:03:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1103491#M16199</guid>
      <dc:creator>dexter2424</dc:creator>
      <dc:date>2020-05-22T10:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get a value with date and product filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1103658#M16201</link>
      <description>&lt;P&gt;Hi Dexter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please consider this solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drag the date to a slicer visual&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drag the product and sum amount to a table&amp;nbsp;visual&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now drag the amount&amp;nbsp;to the table&amp;nbsp;visual again.&amp;nbsp; So you have product, amount, amount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right click on the second amount and select Show value as &amp;gt; Percent of grand total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the date slicer to select a date range and the totals and % should display accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 10:21:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1103658#M16201</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-22T10:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get a value with date and product filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1103724#M16202</link>
      <description>&lt;P&gt;Hi Speedramps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this solution, but this is only one step in my task, after this step I need to separate with another dates and additional products as well, that's why I need a measure or extra column to the dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dexter&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 10:35:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1103724#M16202</guid>
      <dc:creator>dexter2424</dc:creator>
      <dc:date>2020-05-22T10:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get a value with date and product filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1104907#M16210</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi again Dexter&lt;BR /&gt;&lt;BR /&gt;Hope you get a solution from someone.&lt;BR /&gt;&lt;BR /&gt;Sorry I am struggling to understand the scenario. If you don’t get an answer then please elaborate on the exercise.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 13:47:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1104907#M16210</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-22T13:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get a value with date and product filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1127005#M16647</link>
      <description>&lt;P&gt;Yes, I have found thank you&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 15:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-value-with-date-and-product-filters/m-p/1127005#M16647</guid>
      <dc:creator>dexter2424</dc:creator>
      <dc:date>2020-05-28T15:19:28Z</dc:date>
    </item>
  </channel>
</rss>

