<?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: LOOKUPVALUE error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491353#M68596</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2022 16:02:28 GMT</pubDate>
    <dc:creator>mhawkinsCU</dc:creator>
    <dc:date>2022-05-03T16:02:28Z</dc:date>
    <item>
      <title>LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489381#M68475</link>
      <description>&lt;P&gt;I am getting the "A table of mulitpule values was supplied were a single value was expceted."&lt;/P&gt;&lt;P&gt;I am trying to look up the field_value_choices[field_choice_id] based on the field_values[id]&lt;/P&gt;&lt;P&gt;This formula is being used in a&lt;STRONG&gt; calculated column&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck as to way I am getting this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my formula&amp;nbsp;&lt;/P&gt;&lt;P&gt;Employee Type= LOOKUPVALUE(field_value_choices[field_choice_id],field_value_choices[field_value_id],field_values[id])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;field_values&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;field_value_choices&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 19:10:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489381#M68475</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-02T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489489#M68492</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="144263" data-lia-user-login="mhawkinsCU" class="lia-mention lia-mention-user"&gt;mhawkinsCU&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems that the&amp;nbsp;&lt;SPAN&gt;field_value_choices[field_choice_id] column does no contain unique values. Please provide more details about your data model.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 20:21:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489489#M68492</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-02T20:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489503#M68495</link>
      <description>&lt;P&gt;So the lookup value have to be unique? I am trying to determine the field_choice_id by checking the field_vaule_id.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What details about my data model would be helpful?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 20:31:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489503#M68495</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-02T20:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489510#M68498</link>
      <description>&lt;P&gt;Relationships for example&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 20:42:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489510#M68498</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-02T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489513#M68499</link>
      <description>&lt;P&gt;I have no relationships between these two tables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 20:44:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2489513#M68499</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-02T20:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2490168#M68529</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="144263" data-lia-user-login="mhawkinsCU" class="lia-mention lia-mention-user"&gt;mhawkinsCU&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&amp;nbsp;&lt;BR /&gt;If possible please create a relationship between&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;field_value_choices[field_choice_id]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;field_values[id]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and let me know the cardinality and the crossfilter type you get.&amp;nbsp;&lt;BR /&gt;based on that we can retrieve values using RELATED or RELATED table.&amp;nbsp;&lt;BR /&gt;In case you have multiple&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;field_value_choices[field_value_id]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for each&amp;nbsp;field_values[id] then you have to advise which one of them should be retrieved&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 07:10:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2490168#M68529</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-03T07:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491353#M68596</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 16:02:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491353#M68596</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-03T16:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491434#M68603</link>
      <description>&lt;P&gt;Great&lt;/P&gt;&lt;P&gt;would you please answer the question at end of my previous reply&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 16:50:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491434#M68603</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-03T16:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491588#M68613</link>
      <description>&lt;P&gt;If you are asking about the Cardinality and crossfilter type that is why included the Edit relationship details in the picture.&lt;/P&gt;&lt;P&gt;It is many (field_value_choices) to 1 (field_values), Cross filter direction is single.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:06:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491588#M68613</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-03T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491668#M68616</link>
      <description>&lt;P&gt;Actually no. What I mean is that there is no single value for the ID. Retrieving the ID in the the field values table will result in a table rather than a single value. Therfore, you have to provide a preference on which on of the ID's shall be selected. Unless you are sure that this table actually contains duplicates of the same ID.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:37:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491668#M68616</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-03T18:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491685#M68620</link>
      <description>&lt;P&gt;I am sorry but I am not following what you are asking for.&lt;/P&gt;&lt;P&gt;I am trying to use the&amp;nbsp;&lt;SPAN&gt;field_values[id] i&lt;/SPAN&gt;&lt;SPAN&gt;n the field_values table and look up that on the field_value_choices table were&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;field_value_choices[field_value_id]&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;and return the&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;field_value_choices[field_choice_id]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I am using a calcualted column so there should only be 1&amp;nbsp;field_values[id] at a time.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 18:50:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491685#M68620</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-03T18:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491697#M68623</link>
      <description>&lt;P&gt;The new column will be in which table?&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:57:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491697#M68623</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-03T18:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491700#M68624</link>
      <description>&lt;P&gt;It needs to be in the field_values table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:59:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491700#M68624</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-03T18:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491713#M68627</link>
      <description>&lt;P&gt;so basically what I am trying to have show in the Employee type column is - this is the field_values table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;take the id 89088567&lt;/P&gt;&lt;P&gt;look on the field_value_choices table - match the id to teh field_value_id and return teh field_choice_id - 160597&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 19:03:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491713#M68627</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-03T19:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491724#M68629</link>
      <description>&lt;P&gt;It does appear there are duplicate values in the field_value_id column as there are 7,444 rows but only 6,315 distinct values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 19:09:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491724#M68629</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-03T19:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491729#M68632</link>
      <description>&lt;P&gt;But the field value choices table is the many side which means that for some ID's (at least one) you have multiple matches. Otherwise, the relationship would be one to one not one to many. And this is the source of the error in your formula. It could be blanks that is causing the issue. You need to double check your source data&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 19:11:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491729#M68632</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-03T19:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491734#M68633</link>
      <description>&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;then try&lt;/P&gt;&lt;P&gt;MAXX (&lt;/P&gt;&lt;P&gt;RELATEDTABLE (&amp;nbsp;&lt;SPAN&gt;field_value_choices ),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;field_value_choices[field_value_id] )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 19:15:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491734#M68633</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-03T19:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUPVALUE error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491737#M68634</link>
      <description>&lt;P&gt;That worked when I changed it to&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAXX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;RELATEDTABLE&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;field_value_choices&lt;/SPAN&gt;&lt;SPAN&gt; ), &lt;/SPAN&gt;&lt;SPAN&gt;field_value_choices[field_choice_id]&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 19:18:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-error/m-p/2491737#M68634</guid>
      <dc:creator>mhawkinsCU</dc:creator>
      <dc:date>2022-05-03T19:18:14Z</dc:date>
    </item>
  </channel>
</rss>

