<?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: Mapping columns from different tables where one has multiple delimited values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207704#M116891</link>
    <description>&lt;P&gt;Never mind, it worked now. I was doing it in Power Query not Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 16:38:36 GMT</pubDate>
    <dc:creator>user180618</dc:creator>
    <dc:date>2023-04-26T16:38:36Z</dc:date>
    <item>
      <title>Mapping columns from different tables where one has multiple delimited values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207436#M116849</link>
      <description>&lt;P&gt;I have two tables that I would like to map together, either using a join or relationship or a lookup (not sure which is most appropriate). In Table 1 I have a column that lists English words/slang and the different ways they are said across US, UK and Australian English separated by commas:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Column1.words&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cigarettes, cigs, butts, f*gs, durry&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;tracksuit bottoms, tracksuits,&amp;nbsp;sweatpants, trackies, dacks&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Table 2, I have the categorisations of the words by US, UK and Australian:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;US_english&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;UK_english&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;AU_english&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cigs&lt;/TD&gt;&lt;TD&gt;f*gs&lt;/TD&gt;&lt;TD&gt;durry&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;candy&lt;/TD&gt;&lt;TD&gt;sweets&lt;/TD&gt;&lt;TD&gt;lollies&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;sweatpants&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;trackies&lt;/TD&gt;&lt;TD&gt;trackies&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have a Column2 in Table 1 that pulls out a word from the list Column1 list (cigarettes, cigs...) based on the US_english table column in Table 2, so that my Table 1 then has two columns like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Column1.words&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Column2.matched&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cigarettes, cigs, butts, durry&lt;/TD&gt;&lt;TD&gt;cigs&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;tracksuit bottoms, tracksuits,&amp;nbsp;sweatpants, trackies, dacks&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;sweatpants&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the best way to do this?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 14:03:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207436#M116849</guid>
      <dc:creator>user180618</dc:creator>
      <dc:date>2023-04-26T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping columns from different tables where one has multiple delimited values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207452#M116854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="227202" data-lia-user-login="user180618" class="lia-mention lia-mention-user"&gt;user180618&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Matched =
MAXX (
    FILTER (
        VALUES ( Table2[US_english] ),
        CONTAINSSTRING ( Table1[Word], Table2[US_english] )
    ),
    Table2[US_english]
)&lt;/LI-CODE&gt;
&lt;P&gt;The MAXX shall not be required and can be removed&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 14:11:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207452#M116854</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-26T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping columns from different tables where one has multiple delimited values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207655#M116884</link>
      <description>&lt;P&gt;I'm getting this error:&amp;nbsp;Expression.Error: The name 'MAXX' wasn't recognized. Make sure it's spelled correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I remove MAXX I get a 'Token RightParen expected' error on the comma in the third-last line.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 16:12:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207655#M116884</guid>
      <dc:creator>user180618</dc:creator>
      <dc:date>2023-04-26T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping columns from different tables where one has multiple delimited values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207671#M116887</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="227202" data-lia-user-login="user180618" class="lia-mention lia-mention-user"&gt;user180618&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you post a screenshot of the DAX code that you have used?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 16:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207671#M116887</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-26T16:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping columns from different tables where one has multiple delimited values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207704#M116891</link>
      <description>&lt;P&gt;Never mind, it worked now. I was doing it in Power Query not Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 16:38:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/3207704#M116891</guid>
      <dc:creator>user180618</dc:creator>
      <dc:date>2023-04-26T16:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping columns from different tables where one has multiple delimited values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/4617357#M176712</link>
      <description>&lt;P&gt;I tried this and this is the error I received:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 00:45:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/4617357#M176712</guid>
      <dc:creator>ACS_BIM</dc:creator>
      <dc:date>2025-03-20T00:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping columns from different tables where one has multiple delimited values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/4618003#M176733</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1241092" data-lia-user-login="ACS_BIM" class="lia-mention lia-mention-user"&gt;ACS_BIM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this formula is to be used to create a calculated column. To use it in a query you need to use ADDCOLUMNS&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 11:01:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mapping-columns-from-different-tables-where-one-has-multiple/m-p/4618003#M176733</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2025-03-20T11:01:41Z</dc:date>
    </item>
  </channel>
</rss>

