<?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 LOOKVALUE does not return all fields in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKVALUE-does-not-return-all-fields/m-p/1170050#M18016</link>
    <description>&lt;P&gt;I have a table called ‘Employer-use this’, where I am trying use LOOKUPVALUE to return names of Region (Central East, Eastern etc), which is named as ‘Column’ right now (the last column on the picture). However, the problem is not all fields are populated, I highlighted in yellow to show the blanks that are not being shown. I checked my reference excel sheet (which is Sheet 2) and it shows the name of the region for that postal code, so I am not sure why these fields are not being populated. You can see that I used the formula:&lt;/P&gt;&lt;P&gt;Column = LOOKUPVALUE(Sheet2[Region], Sheet2[Postal Code], ‘Employer-use this’[Postal Code])&lt;/P&gt;&lt;P&gt;I also trie this formula:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Column = CALCULATE (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FIRSTNONBLANK ( Sheet2[Region], 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Sheet2',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Sheet2'[Postal Code] = 'Employers-use this'[Postal Code]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;&amp;amp; 'Sheet2'[RPS Registration Number] = 'Employers-use this'[RPS Registration Number]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I still get about 1624 blanks out of about 4500 entries&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I used the same Sheet2 table to create the Risk level Column you see on the picture below and Risk level populated all fields properly, so not sure why it is not work for the column with region names.&lt;/P&gt;&lt;P&gt;If someone could please help me solve this issue, I would really appreciate it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 19 Jun 2020 03:01:16 GMT</pubDate>
    <dc:creator>OPS-MLTSD</dc:creator>
    <dc:date>2020-06-19T03:01:16Z</dc:date>
    <item>
      <title>LOOKVALUE does not return all fields</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKVALUE-does-not-return-all-fields/m-p/1170050#M18016</link>
      <description>&lt;P&gt;I have a table called ‘Employer-use this’, where I am trying use LOOKUPVALUE to return names of Region (Central East, Eastern etc), which is named as ‘Column’ right now (the last column on the picture). However, the problem is not all fields are populated, I highlighted in yellow to show the blanks that are not being shown. I checked my reference excel sheet (which is Sheet 2) and it shows the name of the region for that postal code, so I am not sure why these fields are not being populated. You can see that I used the formula:&lt;/P&gt;&lt;P&gt;Column = LOOKUPVALUE(Sheet2[Region], Sheet2[Postal Code], ‘Employer-use this’[Postal Code])&lt;/P&gt;&lt;P&gt;I also trie this formula:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Column = CALCULATE (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FIRSTNONBLANK ( Sheet2[Region], 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Sheet2',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Sheet2'[Postal Code] = 'Employers-use this'[Postal Code]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;&amp;amp; 'Sheet2'[RPS Registration Number] = 'Employers-use this'[RPS Registration Number]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I still get about 1624 blanks out of about 4500 entries&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I used the same Sheet2 table to create the Risk level Column you see on the picture below and Risk level populated all fields properly, so not sure why it is not work for the column with region names.&lt;/P&gt;&lt;P&gt;If someone could please help me solve this issue, I would really appreciate it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jun 2020 03:01:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKVALUE-does-not-return-all-fields/m-p/1170050#M18016</guid>
      <dc:creator>OPS-MLTSD</dc:creator>
      <dc:date>2020-06-19T03:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKVALUE does not return all fields</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKVALUE-does-not-return-all-fields/m-p/1170807#M18036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="187925" data-lia-user-login="OPS-MLTSD" class="lia-mention lia-mention-user"&gt;OPS-MLTSD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to check the if these values come up using Power Query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A good way to trouble shoot is using Merge queries option in Power Query&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also have a look at the blogs below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://exceloffthegrid.com/power-query-lookup-values-using-merge/" target="_blank"&gt;https://exceloffthegrid.com/power-query-lookup-values-using-merge/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://eriksvensen.wordpress.com/2019/02/28/powerquery-replicate-doing-an-excel-vlookup-in-m/" target="_blank"&gt;https://eriksvensen.wordpress.com/2019/02/28/powerquery-replicate-doing-an-excel-vlookup-in-m/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 07:42:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOOKVALUE-does-not-return-all-fields/m-p/1170807#M18036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-19T07:42:08Z</dc:date>
    </item>
  </channel>
</rss>

