<?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 How to group/combine row definition into a specific category in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1704156#M35116</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to group/combine row variables into a specific category type. For example;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column called industry category where I have row variables captured as "Supermarket/Supermarkets/SuperMkts" for three different businesses. But they are part of the same industry type. I would like to group them as "Supermarkets" so that I can visualise my data in the correct format. Now I can group them by right-clicking on the column and select "New Group". It's a cumbersome task when I need to do a similar exercise for 20k line items. I was wondering if there is a way to automate this process by writing a dax code or in power query!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to find a solution. It would be great if you could help me with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ronie&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 22:58:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-03-04T22:58:49Z</dc:date>
    <item>
      <title>How to group/combine row definition into a specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1704156#M35116</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to group/combine row variables into a specific category type. For example;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column called industry category where I have row variables captured as "Supermarket/Supermarkets/SuperMkts" for three different businesses. But they are part of the same industry type. I would like to group them as "Supermarkets" so that I can visualise my data in the correct format. Now I can group them by right-clicking on the column and select "New Group". It's a cumbersome task when I need to do a similar exercise for 20k line items. I was wondering if there is a way to automate this process by writing a dax code or in power query!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to find a solution. It would be great if you could help me with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ronie&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 22:58:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1704156#M35116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-04T22:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to group/combine row definition into a specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1704410#M35124</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create a calcualted column like below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 02:49:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1704410#M35124</guid>
      <dc:creator>gvrajesh</dc:creator>
      <dc:date>2021-03-05T02:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to group/combine row definition into a specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1704654#M35136</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="288574" data-lia-user-login="gvrajesh" class="lia-mention lia-mention-user"&gt;gvrajesh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I can certainly apply your logic to search a specific keyword. Unfortunately, I have plenty to look for. Can I add multiple search rules in single containsstring function? I was thinking of this way;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CONTAINSSTRING('table name1'[column1],"Accomodation") || CONTAINSSTRING('table name1'[column1],"Apartments"), "Accomodation")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to add few more keywords. Is there a better way to implement it?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Mar 2021 06:09:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1704654#M35136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-05T06:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to group/combine row definition into a specific category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1705345#M35146</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bestway is create&lt;STRONG&gt; lookup table&lt;/STRONG&gt; like below&amp;nbsp; and create &lt;STRONG&gt;calculated column&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In future if you want to add new values, you can simply update this lookup table.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Create calculate column&lt;/STRONG&gt;&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>Fri, 05 Mar 2021 11:01:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-group-combine-row-definition-into-a-specific-category/m-p/1705345#M35146</guid>
      <dc:creator>gvrajesh</dc:creator>
      <dc:date>2021-03-05T11:01:52Z</dc:date>
    </item>
  </channel>
</rss>

