<?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 not filtering second sales in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664156#M142016</link>
    <description>&lt;P&gt;We want to help you but your description is too vaugue. Please write it again clearly.&lt;/P&gt;&lt;P&gt;Please DON'T copy &amp;amp; paste your DAX that does not work and expect us to fathom what you want to do. That is a bit crazy. &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please just give a simple non technical functional decscription of what you want, then let us suggest the solution. Thank you.&lt;/P&gt;&lt;P&gt;Provide example input data as table text (not a screen print) so we can import the data to build a solution for you.&lt;/P&gt;&lt;P&gt;Remove any unneeded columns which may cause confussion.&lt;/P&gt;&lt;P&gt;Rename columns to user friendly names.&lt;BR /&gt;Also provide the example desired output, with a clear description of the process flow.&lt;BR /&gt;Remember not to share private data ... we don't want you to get into trouble. &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;BR /&gt;Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.&lt;BR /&gt;Try keep it simple and ask one question per ticket.&lt;BR /&gt;You will get a quick response if you put time, care and effort into writing clear problem descriptions.&lt;BR /&gt;Remember you are gerrting free expert help, so please put lots of proper effort to asking questions and providing example.&lt;/P&gt;&lt;P&gt;Vaugue descriptions can waste your time and ourtime.&lt;/P&gt;&lt;P&gt;Look foward to helping you when the above information is forthcoming&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jan 2024 14:15:20 GMT</pubDate>
    <dc:creator>speedramps</dc:creator>
    <dc:date>2024-01-27T14:15:20Z</dc:date>
    <item>
      <title>Dax not filtering second sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664072#M142014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just want to get the name of person whose sales is high and the title is red from list/ Prev column. But it give me blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FIRSTNONBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Name]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Name]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Table (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Sales]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Sales]&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'Table (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[List/Prev]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Red"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 27 Jan 2024 12:18:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664072#M142014</guid>
      <dc:creator>FaizShaikh</dc:creator>
      <dc:date>2024-01-27T12:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dax not filtering second sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664156#M142016</link>
      <description>&lt;P&gt;We want to help you but your description is too vaugue. Please write it again clearly.&lt;/P&gt;&lt;P&gt;Please DON'T copy &amp;amp; paste your DAX that does not work and expect us to fathom what you want to do. That is a bit crazy. &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please just give a simple non technical functional decscription of what you want, then let us suggest the solution. Thank you.&lt;/P&gt;&lt;P&gt;Provide example input data as table text (not a screen print) so we can import the data to build a solution for you.&lt;/P&gt;&lt;P&gt;Remove any unneeded columns which may cause confussion.&lt;/P&gt;&lt;P&gt;Rename columns to user friendly names.&lt;BR /&gt;Also provide the example desired output, with a clear description of the process flow.&lt;BR /&gt;Remember not to share private data ... we don't want you to get into trouble. &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;BR /&gt;Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.&lt;BR /&gt;Try keep it simple and ask one question per ticket.&lt;BR /&gt;You will get a quick response if you put time, care and effort into writing clear problem descriptions.&lt;BR /&gt;Remember you are gerrting free expert help, so please put lots of proper effort to asking questions and providing example.&lt;/P&gt;&lt;P&gt;Vaugue descriptions can waste your time and ourtime.&lt;/P&gt;&lt;P&gt;Look foward to helping you when the above information is forthcoming&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 14:15:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664156#M142016</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2024-01-27T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dax not filtering second sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664256#M142024</link>
      <description>&lt;P&gt;Thanks for clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the precise information, also attaching sample for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;Name&amp;nbsp; &amp;nbsp; Sales&amp;nbsp; &amp;nbsp; Red/Blue&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Wayne&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;Blue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Rooney&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Deon&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Blue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Carter&lt;/TD&gt;&lt;TD&gt;900&lt;/TD&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Ron&lt;/TD&gt;&lt;TD&gt;600&lt;/TD&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tom&lt;/TD&gt;&lt;TD&gt;150&lt;/TD&gt;&lt;TD&gt;Blue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Alison&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the above table, I was trying to get the name of the person whose having the maximum sales and Red/Blue=Blue.&lt;/P&gt;&lt;P&gt;I am getting the name of a maximum sales person whose having blue criteria, but getting blank when I change crteria to red. (i.e red/blue= red gives me blank).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also attaching Dax measures which I tried out.&lt;/P&gt;&lt;P&gt;Measure = CALCULATE(VALUES('Table'[Name]),FILTER(ALL('Table'),'Table'[Sales]=MAX('Table'[Sales]) &amp;amp;&amp;amp;'Table'[Red/Blue]="Blue"))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Measure 2= CALCULATE(FIRSTNONBLANK('Table'[Name],'Table'[Name]),'Table'[Sales]=MAX('Table'[Sales]) ,'Table'[Red/Blue]="Blue")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In above measures when I change Red/Blue="Red" it gives me blank.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 16:08:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664256#M142024</guid>
      <dc:creator>FaizShaikh</dc:creator>
      <dc:date>2024-01-27T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dax not filtering second sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664270#M142026</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AgMTUY3Uvq3bg8xzR0jR3A9rcLH1Nw?e=tDW9iJ" target="_self"&gt;Click here to download PBIX from Onedrive&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create measures to get max red and blue value&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Max red value = 
CALCULATE(
    MAX(yourdata[Sales]),
    ALL(yourdata),
    yourdata[Colour] = "Red")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Max blue value = 
CALCULATE(
    MAX(yourdata[Sales]),
    ALL(yourdata),
    yourdata[Colour] = "Blue")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create measure to display all membets who have the max value&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Names with red blue = 
var mymax = [Max red value]
RETURN
CALCULATE(
    CONCATENATEX(yourdata, yourdata[Name]," and "),
    yourdata[Sales] = mymax
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Names with red blue = 
var mymax = [Max red value]
RETURN
CALCULATE(
    CONCATENATEX(yourdata, yourdata[Name]," and "),
    yourdata[Sales] = mymax
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the clear description of the problem with example data. I wish everyone did that!&lt;/P&gt;&lt;P&gt;Remember we are unpaid volunteers, and you have got free expert help which took a lot of effort,&lt;BR /&gt;This solution works and does exactly what you asked.&lt;BR /&gt;So please quickly click the [accept as solution] and the thumbs up button to leave kudos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question per ticket please. If you need to change or extend your request then please raise a new ticket.&lt;/P&gt;&lt;P&gt;You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you quote &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177566" data-lia-user-login="speedramps" class="lia-mention lia-mention-user"&gt;speedramps&lt;/a&gt; in your next tickets then I will then receive an automatic notification, and will be delighted to help you again.&lt;/P&gt;&lt;P&gt;Please now click the [accept as solution] and the thumbs up button.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 16:49:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664270#M142026</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2024-01-27T16:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dax not filtering second sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664716#M142042</link>
      <description>&lt;P&gt;Thankyou, Thanks .alot&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 10:56:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664716#M142042</guid>
      <dc:creator>FaizShaikh</dc:creator>
      <dc:date>2024-01-28T10:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dax not filtering second sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664750#M142045</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681315" data-lia-user-login="FaizShaikh" class="lia-mention lia-mention-user"&gt;FaizShaikh&lt;/a&gt;&amp;nbsp;please show your thanks by quickly clicking the Accept Solution AND the thumbs up button. &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 12:10:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-not-filtering-second-sales/m-p/3664750#M142045</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2024-01-28T12:10:03Z</dc:date>
    </item>
  </channel>
</rss>

