<?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 Conditional Coulmn in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2251723#M54230</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've added a new conditional column for ticket status.&amp;nbsp; &amp;nbsp;It is pulling status from other columns,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if Complaint is Yes it should display Pending Acknowledgement, then if LOA is Sent it should change to Pending Final Response etc etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if the first condition is met, it's entering that and not updating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for example, Complaint is yes so its displaying Pending Acknowledgement however LOA Status has been updated to Sent but it's not updating the colum to Pending Final Response.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The order should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Complaint Yes - Pending Acknowledgment... but if&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOA status Sent - Pending Final Response... but if&lt;/P&gt;&lt;P&gt;FR Status Sent - Pending Portal Update... but if&lt;/P&gt;&lt;P&gt;Overall Status Complated - Closed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If none of those conditions met - display as Pending Initial Review&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's stuck on the first one and updating everything as Pending Acknowledgement and not checking for the others.&amp;nbsp; any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 09:57:12 GMT</pubDate>
    <dc:creator>richpow</dc:creator>
    <dc:date>2021-12-22T09:57:12Z</dc:date>
    <item>
      <title>Conditional Coulmn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2251723#M54230</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've added a new conditional column for ticket status.&amp;nbsp; &amp;nbsp;It is pulling status from other columns,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if Complaint is Yes it should display Pending Acknowledgement, then if LOA is Sent it should change to Pending Final Response etc etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if the first condition is met, it's entering that and not updating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for example, Complaint is yes so its displaying Pending Acknowledgement however LOA Status has been updated to Sent but it's not updating the colum to Pending Final Response.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The order should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Complaint Yes - Pending Acknowledgment... but if&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOA status Sent - Pending Final Response... but if&lt;/P&gt;&lt;P&gt;FR Status Sent - Pending Portal Update... but if&lt;/P&gt;&lt;P&gt;Overall Status Complated - Closed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If none of those conditions met - display as Pending Initial Review&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's stuck on the first one and updating everything as Pending Acknowledgement and not checking for the others.&amp;nbsp; any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 09:57:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2251723#M54230</guid>
      <dc:creator>richpow</dc:creator>
      <dc:date>2021-12-22T09:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Coulmn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2251771#M54233</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;It seems this question could belong in Power Query section if you want to do it with a conditional column?&lt;BR /&gt;If you are you doign it with DAX here is one way to do this:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Dax:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Path = &lt;/SPAN&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Disposition number'[Task ID]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"T1"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;'Disposition number'[Project ID]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;'Disposition number'[Parent Task ID]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"T1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Disposition number'[Task ID]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"T2"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;'Disposition number'[Project ID]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;'Disposition number'[Parent Task ID]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"T1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"T2"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Conditions not met"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Example data:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Logic explained:&lt;BR /&gt;&lt;/STRONG&gt;So here I created a similar situation where if certain conditions are met my DAX returns set values (T1 and T2) similarly to your "pending statuses". If these conditions are not met the value returned is&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Conditions not met"&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope you can use this logic to solve your issue and if you do consider accepting this post as a solution and giving a thumbs up!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Dec 2021 10:28:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2251771#M54233</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2021-12-22T10:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Coulmn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2251780#M54234</link>
      <description>&lt;P&gt;Thank you for your reply, Forgive me, I find it hard to follow that. I will review it and see if I can follow the logic.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 10:23:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2251780#M54234</guid>
      <dc:creator>richpow</dc:creator>
      <dc:date>2021-12-22T10:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Coulmn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2252596#M54297</link>
      <description>&lt;P&gt;Try reversing the order of your conditions.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 19:23:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Coulmn/m-p/2252596#M54297</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2021-12-22T19:23:22Z</dc:date>
    </item>
  </channel>
</rss>

