<?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 returning the complete column in blanks in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690537#M34754</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="238661" data-lia-user-login="campelliann" class="lia-mention lia-mention-user"&gt;campelliann&lt;/a&gt; - can you provide the code you are using, along with a sample of your data? Hard to know what is happening without specifics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or better yet if you can share a copy of your pbix with sensitive data removed. Use OneDrive, Googledrive, dropbox, etc to share a link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2021 21:28:05 GMT</pubDate>
    <dc:creator>dedelman_clng</dc:creator>
    <dc:date>2021-02-25T21:28:05Z</dc:date>
    <item>
      <title>Lookupvalue returning the complete column in blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690329#M34743</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So I have this fact table which unrelated to a lookup table, and I am extracting values from the latter using the lookupvalue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The thing is that I am getting all blanks, and I have no idea why. Some Ids are only in the fact table, but I am using 0 as the alternative result. What is going on here?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Ideas?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 18:21:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690329#M34743</guid>
      <dc:creator>campelliann</dc:creator>
      <dc:date>2021-02-25T18:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lookupvalue returning the complete column in blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690537#M34754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="238661" data-lia-user-login="campelliann" class="lia-mention lia-mention-user"&gt;campelliann&lt;/a&gt; - can you provide the code you are using, along with a sample of your data? Hard to know what is happening without specifics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or better yet if you can share a copy of your pbix with sensitive data removed. Use OneDrive, Googledrive, dropbox, etc to share a link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 21:28:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690537#M34754</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2021-02-25T21:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lookupvalue returning the complete column in blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690604#M34762</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="13353" data-lia-user-login="dedelman_clng" class="lia-mention lia-mention-user"&gt;dedelman_clng&lt;/a&gt;, thanks for your reply. The problem is that the complete file is sensitive. I did a new table, where I filtered the IDs from the first Table, to get only those who are common in both tables. In this way the lookupvalue worked. It seems the cause were the IDs that were non-existent in the table from which I am extracting the field.&lt;BR /&gt;&lt;BR /&gt;Does this help?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 22:30:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690604#M34762</guid>
      <dc:creator>campelliann</dc:creator>
      <dc:date>2021-02-25T22:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lookupvalue returning the complete column in blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690613#M34764</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="238661" data-lia-user-login="campelliann" class="lia-mention lia-mention-user"&gt;campelliann&lt;/a&gt; - can you provide a screenshot of the table structure (from the model screen, not the data) and the code you are using with LOOKUPVALUE ?&amp;nbsp; It may be a simple fix that doesn't require creation of a 3rd table to work.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 22:36:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690613#M34764</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2021-02-25T22:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lookupvalue returning the complete column in blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690834#M34772</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want the field "orçamento" from fields. So Lookupvalue(Fields orçamento [orçamento],&amp;nbsp;Fields orçamento [ID], Beebole completo [Project ID]).&amp;nbsp; It seems that the IDs that live on Beebole but not on Fields orçamento are messing this.&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="13353" data-lia-user-login="dedelman_clng" class="lia-mention lia-mention-user"&gt;dedelman_clng&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 02:04:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1690834#M34772</guid>
      <dc:creator>campelliann</dc:creator>
      <dc:date>2021-02-26T02:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lookupvalue returning the complete column in blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1692384#M34805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="238661" data-lia-user-login="campelliann" class="lia-mention lia-mention-user"&gt;campelliann&lt;/a&gt; -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You said initially that you were using 0 as an alternate result, but your code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #000000; font-family: 'SegoeUI','Lato','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; Lookupvalue(Fields orçamento [orçamento],&amp;nbsp;Fields orçamento [ID], Beebole completo [Project ID])&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #000000; font-family: 'SegoeUI','Lato','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;does not have that alternate result.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #000000; font-family: 'SegoeUI','Lato','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Aside from that, given that I can't see the rest of your model, it is possible that there are other filters in play that you are not aware of on either or both of the tables. You could try this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CALCULATE(
   Lookupvalue(Fields orçamento [orçamento], 
               Fields orçamento [ID], 
               Beebole completo [Project ID], 0),
   ALL(Fields orcamento)
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Beyond that, without the context of seeing the entire report, I don't think there is much else I can help with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 14:33:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookupvalue-returning-the-complete-column-in-blanks/m-p/1692384#M34805</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2021-02-26T14:33:56Z</dc:date>
    </item>
  </channel>
</rss>

