<?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: Create column with the group for multiple values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133244#M48957</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329279" data-lia-user-login="pagliaci" class="lia-mention lia-mention-user"&gt;pagliaci&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;column = switch(true(),CONTAINSSTRING('tbl'[Names],"Barbie")=TRUE()||CONTAINSSTRING('tbl'[Names],"Glow")=TRUE(),"Barbie","Cars")&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 13 Oct 2021 20:22:47 GMT</pubDate>
    <dc:creator>smpa01</dc:creator>
    <dc:date>2021-10-13T20:22:47Z</dc:date>
    <item>
      <title>Create column with the group for multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133214#M48953</link>
      <description>&lt;P&gt;Hello, I have a Table with a column called "Names" with a lot of versions of 2 products for example "barbie" and "cars". I need to create a new column "Groups" that show me only the major groups, but I have 1000+ items in my column to do one by one..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an ideia how I could do this? My result should be something like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;</description>
      <pubDate>Wed, 13 Oct 2021 19:59:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133214#M48953</guid>
      <dc:creator>pagliaci</dc:creator>
      <dc:date>2021-10-13T19:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create column with the group for multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133221#M48954</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;column = switch(true(),CONTAINSSTRING('tbl'[Names],"Barbie")=TRUE(),"Barbie","Cars")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329279" data-lia-user-login="pagliaci" class="lia-mention lia-mention-user"&gt;pagliaci&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 20:09:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133221#M48954</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2021-10-13T20:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create column with the group for multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133240#M48956</link>
      <description>&lt;P&gt;What if I have more than 1 option, I wanted to say if glow OR beach than write Barbie. How do I make this OR?&lt;/P&gt;&lt;P&gt;I am trying || :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;column = switch(true(),CONTAINSSTRING('Versões - SAP'[Versões],"CONCENTRADO" || "CONCENT")=TRUE(),"CONCENTRADO")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but it gives me the error&amp;nbsp;Cannot convert value 'CONCENTRADO' of type Text to type True/False.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Oct 2021 20:19:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133240#M48956</guid>
      <dc:creator>pagliaci</dc:creator>
      <dc:date>2021-10-13T20:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create column with the group for multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133244#M48957</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329279" data-lia-user-login="pagliaci" class="lia-mention lia-mention-user"&gt;pagliaci&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;column = switch(true(),CONTAINSSTRING('tbl'[Names],"Barbie")=TRUE()||CONTAINSSTRING('tbl'[Names],"Glow")=TRUE(),"Barbie","Cars")&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Oct 2021 20:22:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-column-with-the-group-for-multiple-values/m-p/2133244#M48957</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2021-10-13T20:22:47Z</dc:date>
    </item>
  </channel>
</rss>

