<?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 DAX add column and group other variable as other in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091692#M15821</link>
    <description>&lt;P&gt;I'm currently trying to create a page filter for my "Custom1" column&amp;nbsp;that contains data "COP1" "COP2" and various other names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rather than have the entire list appear in the dropdown slicer is it possible to create an addcolumn via DAX that gives me values "COP1", "COP2" and "Other"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. I'm trying to rename all other variables as "Other" in a new column&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 14:14:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-15T14:14:54Z</dc:date>
    <item>
      <title>DAX add column and group other variable as other</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091692#M15821</link>
      <description>&lt;P&gt;I'm currently trying to create a page filter for my "Custom1" column&amp;nbsp;that contains data "COP1" "COP2" and various other names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rather than have the entire list appear in the dropdown slicer is it possible to create an addcolumn via DAX that gives me values "COP1", "COP2" and "Other"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. I'm trying to rename all other variables as "Other" in a new column&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 14:14:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091692#M15821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-15T14:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX add column and group other variable as other</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091752#M15824</link>
      <description>Custom2 = SWITCH([Custom1],&lt;BR /&gt;  "COP1" || "COP2",[Custom1],&lt;BR /&gt;  "Other")</description>
      <pubDate>Fri, 15 May 2020 14:40:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091752#M15824</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-15T14:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX add column and group other variable as other</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091772#M15826</link>
      <description>&lt;P&gt;&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;An error has appeared :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Function 'SWITCH' does not support comparing values of type Text with values of type True/False. Consider using the VALUE or FORMAT function to convert one of the values .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Custom 1 Sort = SWITCH([Custom_1],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"COP1" || "COP2",[Custom_1],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Other")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 May 2020 14:52:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091772#M15826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-15T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX add column and group other variable as other</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091785#M15828</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Custom 1 Sort = IF([Custom_1] = "&lt;/SPAN&gt;&lt;SPAN&gt;COP1" || [COLUMN1] = "COP2",[Custom_1],&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Other")&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 May 2020 15:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091785#M15828</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-05-15T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX add column and group other variable as other</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091821#M15835</link>
      <description>Sorry &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="126583" data-lia-user-login="NeilL" class="lia-mention lia-mention-user"&gt;NeilL&lt;/a&gt; tried to get too fancy:&lt;BR /&gt;&lt;BR /&gt;Custom2 = SWITCH([Custom1],&lt;BR /&gt;"COP1",[Custom1],&lt;BR /&gt;"COP2",[Custom1],&lt;BR /&gt;"Other")</description>
      <pubDate>Fri, 15 May 2020 15:16:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-add-column-and-group-other-variable-as-other/m-p/1091821#M15835</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-15T15:16:39Z</dc:date>
    </item>
  </channel>
</rss>

