<?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 Multiple Column, multiple IFS and multiple Returns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037836#M104067</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I'm am trying to return a text based off of IFS in two columns.&amp;nbsp; I'm not sure how I go about it.&amp;nbsp; The "Score Rank" column was fairly easy to do, but I'm not sure about adding another column to the equasion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp;&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>Mon, 23 Jan 2023 13:45:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-23T13:45:53Z</dc:date>
    <item>
      <title>Multiple Column, multiple IFS and multiple Returns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037836#M104067</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I'm am trying to return a text based off of IFS in two columns.&amp;nbsp; I'm not sure how I go about it.&amp;nbsp; The "Score Rank" column was fairly easy to do, but I'm not sure about adding another column to the equasion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp;&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>Mon, 23 Jan 2023 13:45:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037836#M104067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-23T13:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Column, multiple IFS and multiple Returns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037852#M104069</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , What is logic use &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Switch( True() ,&lt;/P&gt;
&lt;P&gt;[Rank] &amp;lt;= 5, "Low",&lt;/P&gt;
&lt;P&gt;[Rank] &amp;lt;= 10, "Med",&lt;/P&gt;
&lt;P&gt;"High"&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 13:52:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037852#M104069</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-01-23T13:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Column, multiple IFS and multiple Returns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037857#M104070</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;P&gt;Column =&lt;BR /&gt;IF(&lt;BR /&gt;[Type]="Issue",&lt;BR /&gt;[Type],&lt;BR /&gt;[Score Rank]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 13:54:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037857#M104070</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-23T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Column, multiple IFS and multiple Returns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037893#M104075</link>
      <description>&lt;P&gt;Thank you for the quick response, but I'm not sure if I'm understanding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I created the Score Rank column:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;Score_Rank = IF(AND([Risk score]&amp;gt;=0, [Risk score]&amp;lt;8),"low",&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp;IF(AND([Risk score]&amp;gt;=8, [Risk score]&amp;lt;15),"medium",&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; IF(AND([Risk score]&amp;gt;=15, [Risk score]&amp;lt;30),"high")))&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;The "score_rank" column I'm trying to populate has to have that, but if "issue" is in the Type column, then I need to return "Issue" instead of low, medium, or high.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Thank again,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Mike&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Jan 2023 14:07:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3037893#M104075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-23T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Column, multiple IFS and multiple Returns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3038188#M104098</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this info is critical, try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Score_Rank = 
SWITCH(
    TRUE(),
    [Type]="Issue", [Type],
    [Probability]&amp;lt;8, "low",
    [Probability]&amp;lt;15, "medium",
   "high"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:42:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3038188#M104098</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-23T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Column, multiple IFS and multiple Returns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3038335#M104116</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; That's got me about 90% there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should have been more specific with calculation explanation.&amp;nbsp; If the type is "Issue", then the only value it can return is "Issue"&amp;nbsp; For "Risk", it follows the below criteria:&lt;/P&gt;&lt;P&gt;Low = 0-8&lt;/P&gt;&lt;P&gt;Med = 9-14&lt;/P&gt;&lt;P&gt;High = 14+&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;The formula is returning incorrect values for the Score_Rank column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of what's its returning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type&amp;nbsp; &amp;nbsp; &amp;nbsp;Prob&amp;nbsp; Score Rank&amp;nbsp; Score_Rank&lt;/P&gt;&lt;P&gt;Risk&amp;nbsp; &amp;nbsp; &amp;nbsp; 9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Medium&amp;nbsp; &amp;nbsp; &amp;nbsp; Low&lt;/P&gt;&lt;P&gt;Risk&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 16:39:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Column-multiple-IFS-and-multiple-Returns/m-p/3038335#M104116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-23T16:39:39Z</dc:date>
    </item>
  </channel>
</rss>

