<?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: Diferent filter for the same variables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398881#M25711</link>
    <description>&lt;P&gt;Thank you very much, I didn't know you can use all filter in that way ^^&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 09:14:25 GMT</pubDate>
    <dc:creator>Pablo_Quintana</dc:creator>
    <dc:date>2020-09-28T09:14:25Z</dc:date>
    <item>
      <title>Diferent filter for the same variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398514#M25698</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm new to DAX so help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having the followed tables: Date, sellers, and invoices, I would like to calculate the weight in the total amount of sales for this year and for each month and seller. Using 2 cards to filter the measure (date and seller) I have this function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Weight = SUM(Invoice[Price]) /&amp;nbsp;SUMX(ALL(Invoice,Invoice[Price])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this one just shows the weight regarding the full-year sales, and I would like to overview not only the comparison with the full-year but also with a certain month using the month card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas about how can I make this work? Thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 07:48:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398514#M25698</guid>
      <dc:creator>Pablo_Quintana</dc:creator>
      <dc:date>2020-09-28T07:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Diferent filter for the same variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398532#M25700</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="261384" data-lia-user-login="Pablo_Quintana" class="lia-mention lia-mention-user"&gt;Pablo_Quintana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you share some sample data and the expected result to have a clear understanding of your question?&lt;BR /&gt;You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.&lt;BR /&gt;____________________________________&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;How to paste sample data with your question?&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to get your questions answered quickly?&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;_____________________________________&lt;BR /&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 07:54:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398532#M25700</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-09-28T07:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Diferent filter for the same variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398695#M25703</link>
      <description>&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SalesID&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Price&lt;/TD&gt;&lt;TD&gt;Seller&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;20/08/2020&lt;/TD&gt;&lt;TD&gt;3400&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;28/09/2020&lt;/TD&gt;&lt;TD&gt;5000&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;03/09/2020&lt;/TD&gt;&lt;TD&gt;3500&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;12/09/2020&lt;/TD&gt;&lt;TD&gt;9000&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;07/08/2020&lt;/TD&gt;&lt;TD&gt;2000&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;18/06/2020&lt;/TD&gt;&lt;TD&gt;7000&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Seller ID&lt;/TD&gt;&lt;TD&gt;Seller&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;+ Calendar table&lt;/P&gt;&lt;P&gt;Having 2 cards to filter the data (date month and seller )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know the weight like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Selecting only seller card ("A" for example): (3400 + 3500 + 5000) / (3400 + 3500 + 5000+ 9000 + 2000 + 7000) &amp;lt;- A sales / total sales&lt;/P&gt;&lt;P&gt;Sales using both cards (Example "A" and september): (3500 + 5000) / (3500 + 5000 + 9000) &amp;lt;- A sales in september / total sales in september&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 08:30:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398695#M25703</guid>
      <dc:creator>Pablo_Quintana</dc:creator>
      <dc:date>2020-09-28T08:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Diferent filter for the same variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398736#M25705</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="261384" data-lia-user-login="Pablo_Quintana" class="lia-mention lia-mention-user"&gt;Pablo_Quintana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Apply this measure, it works for your selection of Month and Seller.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure % = 
DIVIDE(
    SUM(Table2[Price]),
    CALCULATE(
        SUM(Table2[Price]),
        ALL(Table2[Seller ])
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Format your measure as %&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 08:40:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398736#M25705</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-09-28T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Diferent filter for the same variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398881#M25711</link>
      <description>&lt;P&gt;Thank you very much, I didn't know you can use all filter in that way ^^&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:14:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Diferent-filter-for-the-same-variables/m-p/1398881#M25711</guid>
      <dc:creator>Pablo_Quintana</dc:creator>
      <dc:date>2020-09-28T09:14:25Z</dc:date>
    </item>
  </channel>
</rss>

