<?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: if else in Power Bi calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2732181#M83686</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Ive tried the suggested method but it only displays "More than 150" even when all 3 ranges are in table.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 09:45:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-29T09:45:15Z</dc:date>
    <item>
      <title>if else in Power Bi calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2731923#M83680</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;Hi everyone,&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Im trying to create a range where value is "Less than 50", "More than 50" and "More than 150". I was able to achieve this but I want values that are more than 50 to display inclusive of values more than 150 as well. User should have an option to only to view all data that are more than 50 and if they want to view values more than 150 they should be able to select that.&lt;/P&gt;&lt;PRE&gt;Range = SWITCH(
TRUE(), 
'All'[Value (USD)] &amp;lt; 50, "Less than 50",
'All'[Value (USD)] &amp;gt; 50 &amp;amp;&amp;amp; 'All'[Value (USD)] &amp;lt; 150 , "More than 50",
'All'[Value (USD)] &amp;gt; 150, "More than 150")&lt;/PRE&gt;&lt;P&gt;This code will segregate data with value 50 and 150. I would like to know if its possible to display data that are more than 50 &amp;amp; 150 when user select "More than 50". If user selects more than 150 then it will only display data with value more than 150.&lt;BR /&gt;I hope someone could give a suggestion for this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Aug 2022 08:28:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2731923#M83680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-29T08:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: if else in Power Bi calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2731975#M83681</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can create or import a separate disconnected table that contains the three text descriptions of the three rangges let's call it 'Ranges' that contains one column [Range]. Inserr a sclicer based on 'Ranges[Range]. Place the following measure in the &lt;STRONG&gt;filter pane&amp;nbsp;&lt;/STRONG&gt;of the visual, select "is not blank" and apply the filter&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Range =
SWITCH (
    SELECTEDVALUE ( Ranges[Range] ),
    "Less than 50", COUNTROWS ( FILTER ( 'All', 'All'[Value (USD)] &amp;lt; 50 ) ),
    "More than 50", COUNTROWS ( FILTER ( 'All', 'All'[Value (USD)] &amp;gt; 50 ) ),
    "More than 150", COUNTROWS ( FILTER ( 'All', 'All'[Value (USD)] &amp;gt; 150 ) )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 08:51:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2731975#M83681</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-29T08:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: if else in Power Bi calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2732181#M83686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Ive tried the suggested method but it only displays "More than 150" even when all 3 ranges are in table.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 09:45:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2732181#M83686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-29T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: if else in Power Bi calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2732266#M83690</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Would you please share a screenshot of what you've achieved&amp;nbsp;so far?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 10:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2732266#M83690</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-29T10:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: if else in Power Bi calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2733673#M83793</link>
      <description>&lt;P&gt;Its an empty table when i create a table using this measure. When I use it as a slicer for my existing dashboard it only shows More than 150.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 00:16:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2733673#M83793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-30T00:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: if else in Power Bi calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2733737#M83795</link>
      <description>&lt;P&gt;Hi its alright I made it work, thank you for your input &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 01:17:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/if-else-in-Power-Bi-calculated-column/m-p/2733737#M83795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-30T01:17:46Z</dc:date>
    </item>
  </channel>
</rss>

