<?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: Problem with LOOKUPVALUE not searching multiple columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3345455#M125598</link>
    <description>&lt;P&gt;The problem is with the final parameter but it gives no expalanation as to what the issue might be.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jul 2023 23:02:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-23T23:02:58Z</dc:date>
    <item>
      <title>Problem with LOOKUPVALUE not searching multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3336479#M125135</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Am I right in saying that I cannot use the same &lt;STRONG&gt;Search_ColumnName &lt;/STRONG&gt;twice when using the LOOKUPVALUE function?&lt;BR /&gt;&lt;BR /&gt;I have 4 columns in one table with values that match the Search_ColumnName values in another table and I am trying to use the same Search_ColumnName for all 4 Search_Values and its is giving me blanks in the new column.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Example 1 (This works with the correct values in the new column)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Teamowner = LOOKUPVALUE(Owner[Owner],Owner[Team],S3SSL[tags2])&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Example 2 (This one just gives me blanks in the new column)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Teamowner = LOOKUPVALUE(Owner[Owner],Owner[Team],S3SSL[tags1],Owner[Team],S3SSL[tags2],Owner[Team],[tags3],Owner[Team],S3SSL[tags4])&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What is the best way to combine the 4 columns in the S3SSL table to one new column using the values in the Owner table?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 12:40:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3336479#M125135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-18T12:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LOOKUPVALUE not searching multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3336929#M125155</link>
      <description>&lt;P&gt;If you know that there will only be 1 row which matches then you could use&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Teamowner =
SELECTCOLUMNS (
    FILTER (
        Owner,
        Owner[Team] IN { S3SSL[tags1], S3SSL[tags2], S3SSL[tags3], S3SSL[tags4] }
    ),
    Owner[Owner]
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 18 Jul 2023 15:49:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3336929#M125155</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-07-18T15:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LOOKUPVALUE not searching multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3337400#M125177</link>
      <description>&lt;P&gt;Thank you for the reply but unfortunately that didnt work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is what I am trying to achieve&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;</description>
      <pubDate>Tue, 18 Jul 2023 22:53:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3337400#M125177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-18T22:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LOOKUPVALUE not searching multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3338272#M125225</link>
      <description>&lt;P&gt;You need to filter out the blanks as well,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Teamowner =
SELECTCOLUMNS (
    FILTER (
        Owner,
        Owner[Team]
            IN { S3SSL[tags1], S3SSL[tags2], S3SSL[tags3], S3SSL[tags4] }
                &amp;amp;&amp;amp; NOT ISBLANK ( Owner[Team] )
    ),
    Owner[Owner]
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Jul 2023 09:56:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3338272#M125225</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-07-19T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LOOKUPVALUE not searching multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3345451#M125597</link>
      <description>&lt;P&gt;Still no joy on this one so I ended up creating a conditional column, which also gave me errors until I added a character to the blank spaces in each column and then it gave me what I needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 22:59:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3345451#M125597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-23T22:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LOOKUPVALUE not searching multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3345455#M125598</link>
      <description>&lt;P&gt;The problem is with the final parameter but it gives no expalanation as to what the issue might be.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 23:02:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-LOOKUPVALUE-not-searching-multiple-columns/m-p/3345455#M125598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-23T23:02:58Z</dc:date>
    </item>
  </channel>
</rss>

