<?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: Need help to create below DAX command in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668929#M142275</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="670010" data-lia-user-login="rubulsahu" class="lia-mention lia-mention-user"&gt;rubulsahu&lt;/a&gt;&amp;nbsp;See edited post above. Again, if there are no other status other than those listed in the image then you can use the first version. Otherwise, you would use the revised version.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2024 20:09:26 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2024-01-30T20:09:26Z</dc:date>
    <item>
      <title>Need help to create below DAX command</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668877#M142262</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very few to PowerBi and still catching up with its various commands. I have a complex requirement from business whereI have to calculate a new column using the formula defined in the image. First I&amp;nbsp; have to filter on status and then based on values calculate the Assessmrt outcome value. Its very tricky for me and hoping someone could guide me in the right direction.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 19:12:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668877#M142262</guid>
      <dc:creator>rubulsahu</dc:creator>
      <dc:date>2024-01-30T19:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to create below DAX command</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668897#M142266</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="670010" data-lia-user-login="rubulsahu" class="lia-mention lia-mention-user"&gt;rubulsahu&lt;/a&gt;&amp;nbsp;Use a SWITCH(TRUE()...) statement like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
  SWITCH(TRUE(),
    [Global Assessment Outcome] &amp;lt;&amp;gt; BLANK(), [Global Assessment Outcome],
    [Triage Outcome] &amp;lt;&amp;gt; "Select One", [Triage Outcome],
    [PreImpAss Outcome] = "SELECT ONE", "NA",
    [PreImpAss Outcome]
  )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 19:40:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668897#M142266</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-01-30T19:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to create below DAX command</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668913#M142271</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Thankyou so much for the prompt response. But I have to first filter Status Value(col 1) . How I can include If with Switch?&amp;nbsp;&lt;/P&gt;&lt;P&gt;When Status is cancelled then Cancelled&lt;/P&gt;&lt;P&gt;When Status in(&lt;/P&gt;&lt;P&gt;Administrative Update&lt;/P&gt;&lt;P&gt;Global Cross-functional Impact Assessment in Progress&lt;/P&gt;&lt;P&gt;Global Implementation Ongoing&lt;/P&gt;&lt;P&gt;Local Implementation Only (no Global Impact)&lt;/P&gt;&lt;P&gt;Local Implementation (Global Implementation Complete)&lt;/P&gt;&lt;P&gt;Completed PV Policy Activities&lt;/P&gt;&lt;P&gt;) then&lt;/P&gt;&lt;P&gt;Switch&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 19:53:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668913#M142271</guid>
      <dc:creator>rubulsahu</dc:creator>
      <dc:date>2024-01-30T19:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to create below DAX command</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668922#M142273</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="670010" data-lia-user-login="rubulsahu" class="lia-mention lia-mention-user"&gt;rubulsahu&lt;/a&gt;&amp;nbsp;Should be simple:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
  SWITCH(TRUE(),
    [Status] = "Cancelled", "Cancelled",
    [Global Assessment Outcome] &amp;lt;&amp;gt; BLANK(), [Global Assessment Outcome],
    [Triage Outcome] &amp;lt;&amp;gt; "Select One", [Triage Outcome],
    [PreImpAss Outcome] = "SELECT ONE", "NA",
    [PreImpAss Outcome]
  )&lt;/LI-CODE&gt;
&lt;P&gt;This assumes that all other values for Status should go through the rest of the evaluation process. If that is not the case then you could do this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SWITCH(TRUE(),
  [Status] = "Cancelled" || [Status] = "Administrative Update" || [Status] = "Global Cross-functional Impact Assessment in Progress", // add more or statements as necessary
    SWITCH(TRUE(),
       [Status] = "Cancelled", "Cancelled",
       [Global Assessment Outcome] &amp;lt;&amp;gt; BLANK(), [Global Assessment Outcome],
       [Triage Outcome] &amp;lt;&amp;gt; "Select One", [Triage Outcome],
       [PreImpAss Outcome] = "SELECT ONE", "NA",
       [PreImpAss Outcome]
    ),
  "Something else"
)​&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 Jan 2024 20:07:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668922#M142273</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-01-30T20:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to create below DAX command</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668926#M142274</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thereare other values in the status apart from Cancelled and listed below&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;Administrative Update&lt;/P&gt;&lt;P&gt;Global Cross-functional Impact Assessment in Progress&lt;/P&gt;&lt;P&gt;Global Implementation Ongoing&lt;/P&gt;&lt;P&gt;Local Implementation Only (no Global Impact)&lt;/P&gt;&lt;P&gt;Local Implementation (Global Implementation Complete)&lt;/P&gt;&lt;P&gt;Completed PV Policy Activities)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to select only these for switch statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 20:06:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668926#M142274</guid>
      <dc:creator>rubulsahu</dc:creator>
      <dc:date>2024-01-30T20:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to create below DAX command</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668929#M142275</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="670010" data-lia-user-login="rubulsahu" class="lia-mention lia-mention-user"&gt;rubulsahu&lt;/a&gt;&amp;nbsp;See edited post above. Again, if there are no other status other than those listed in the image then you can use the first version. Otherwise, you would use the revised version.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 20:09:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-to-create-below-DAX-command/m-p/3668929#M142275</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-01-30T20:09:26Z</dc:date>
    </item>
  </channel>
</rss>

