<?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: Measures- Multiple Fields Criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348774#M59522</link>
    <description>&lt;P&gt;Hi - It was my fault, it was Highway Maintenance not Highways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THis is sorted and I really appreciate all your help - Unbelievable !!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Feb 2022 11:47:26 GMT</pubDate>
    <dc:creator>spandy34</dc:creator>
    <dc:date>2022-02-19T11:47:26Z</dc:date>
    <item>
      <title>Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2347988#M59444</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wondered if anyone can help me - I am new to DAX - I am trying to create a measure with multiple critieria - I want to count the number of records - Table Name is Main Claim Data - the field i want to count is ClaimRef, where the field ClassOfBusiness = PL and the Department = Highways and the StatusFlag = CLOSED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know how to count with one criteria but unsure with multiple - please can someone help&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, 18 Feb 2022 15:40:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2347988#M59444</guid>
      <dc:creator>spandy34</dc:creator>
      <dc:date>2022-02-18T15:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348114#M59454</link>
      <description>&lt;P&gt;Just reviewing this .&amp;nbsp; I dont want to count the records as they are already being counted by the Mesaures in the row&amp;nbsp; &amp;nbsp;- if you see on the attached (green table) I have set up a matrix but need the matrix to have the headers Highways PL Other PL EL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I think I need are measure that filter the colum records as follows-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Measure Highways PL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table Name is Main Claim Data - I need them to filter the records where the field ClassOfBusiness = PL and the Department = Highways and the StatusFlag = CLOSED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Other PL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table Name is Main Claim Data - I need them to filter the records where the field ClassOfBusiness = PL and the Department IS NOT Highways and the StatusFlag = CLOSED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table Name is Main Claim Data - I need them to filter the records where the field ClassOfBusiness = EL and and the StatusFlag = CLOSED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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, 18 Feb 2022 17:07:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348114#M59454</guid>
      <dc:creator>spandy34</dc:creator>
      <dc:date>2022-02-18T17:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348729#M59510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="333315" data-lia-user-login="spandy34" class="lia-mention lia-mention-user"&gt;spandy34&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can you share the code of your measures? Is the green table from power bi?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 10:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348729#M59510</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-19T10:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348733#M59511</link>
      <description>&lt;P&gt;Yes the green table is from Power Bi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;U&gt;Name for the VIsual Claim Nos Received&lt;/U&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;No of Claims = COUNT('Main Claim Data'[ClaimRef])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;U&gt;Name for the VIsual Repudiation Rate&lt;/U&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;No of Claims&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= ([No Repudiated]/[No of Claims])*100&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;U&gt;Name for the VIsual Repudiated Claim Nos&lt;/U&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;No Repudiated = [Count of RepudiatedFlag for True]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Repudiated £ = SUMX ( FILTER ( 'Main Claim Data', [RepudiatedFlag] = TRUE () ), [Highest Estimate] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;Name for the Visual Repudiated £&lt;/U&gt;&amp;nbsp;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Repudiated £ = SUMX ( FILTER ( 'Main Claim Data', [RepudiatedFlag] = TRUE () ), [Highest Estimate] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 19 Feb 2022 10:29:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348733#M59511</guid>
      <dc:creator>spandy34</dc:creator>
      <dc:date>2022-02-19T10:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348740#M59512</link>
      <description>&lt;P&gt;Ok Then you need to create a calulated column that delivers the 3 categories (&lt;SPAN&gt;Highways PL,&amp;nbsp;Other PL &amp;amp; EL) based on your condition with simple IF statements.&lt;BR /&gt;Then drag the new column into your matrix's culmns&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 10:47:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348740#M59512</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-19T10:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348743#M59514</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brilliant - are you able to tell me the coding that would create each column as I havent done a calculated column and dragged it into a a table before - based on information below - I really do appreciate your help with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Measure Highways PL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table Name is Main Claim Data - I need them to filter the records where the field ClassOfBusiness = PL and the Department = Highways and the StatusFlag = CLOSED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Other PL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table Name is Main Claim Data - I need them to filter the records where the field ClassOfBusiness = PL and the Department IS NOT Highways and the StatusFlag = CLOSED&lt;/SPAN&gt;&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;&lt;SPAN&gt;EL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table Name is Main Claim Data - I need them to filter the records where the field ClassOfBusiness = EL and and the StatusFlag = CLOSED&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 10:57:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348743#M59514</guid>
      <dc:creator>spandy34</dc:creator>
      <dc:date>2022-02-19T10:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348749#M59516</link>
      <description>&lt;LI-CODE lang="javascript"&gt;Category =
SWITCH (
    TRUE,
    'Main Claim Data'[ClassOfBusiness] = "PL"
        &amp;amp;&amp;amp; 'Main Claim Data'[Department] = "Highways"
        &amp;amp;&amp;amp; 'Main Claim Data'[StatusFlag] = "CLOSED", "Highways PL",
    'Main Claim Data'[ClassOfBusiness] = "PL"
        &amp;amp;&amp;amp; 'Main Claim Data'[Department] &amp;lt;&amp;gt; "Highways"
        &amp;amp;&amp;amp; 'Main Claim Data'[StatusFlag] = "CLOSED", "Other PL",
    'Main Claim Data'[ClassOfBusiness] = "EL"
        &amp;amp;&amp;amp; 'Main Claim Data'[StatusFlag] = "CLOSED", "EL",
    "Others"
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;A category "Others" will polute your report. The easiest way to get red of it is to create a slicer of the category column and select the options you need and deselect "Others".&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 11:12:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348749#M59516</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-19T11:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348763#M59519</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are nearly there but I have no Highways PL column only Other PL and EL as on diagram.&amp;nbsp; I have put the slider in as suggested.&amp;nbsp; How do I get Highways PL please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 11:39:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348763#M59519</guid>
      <dc:creator>spandy34</dc:creator>
      <dc:date>2022-02-19T11:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348774#M59522</link>
      <description>&lt;P&gt;Hi - It was my fault, it was Highway Maintenance not Highways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THis is sorted and I really appreciate all your help - Unbelievable !!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 11:47:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348774#M59522</guid>
      <dc:creator>spandy34</dc:creator>
      <dc:date>2022-02-19T11:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348775#M59523</link>
      <description>&lt;P&gt;That is because no of you records matches its conditions&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 11:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2348775#M59523</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-19T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Measures- Multiple Fields Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2350791#M59648</link>
      <description>&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/301004" target="_blank"&gt;@goncalogeraldes&lt;/A&gt;&amp;nbsp;I have had this resolved now but thank you for responding.&amp;nbsp; Much appreciated&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 10:05:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-Multiple-Fields-Criteria/m-p/2350791#M59648</guid>
      <dc:creator>spandy34</dc:creator>
      <dc:date>2022-02-21T10:05:34Z</dc:date>
    </item>
  </channel>
</rss>

