<?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: MISTAKE: LOOKUPVALUE, DOESN´T RETURN  ALL VALUES CORRECTLY in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1111886#M16252</link>
    <description>Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="140529" data-lia-user-login="JEANCARLOB7" class="lia-mention lia-mention-user"&gt;JEANCARLOB7&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;Not only does the relationship have to be unidirectional. The model above is a good way to fail miserably, especially in the future when you start adding more dimensions or when you start restructuring it (which sooner or later will happen).&lt;BR /&gt;&lt;BR /&gt;You should certainly read something about good model design and why you should stay away from bidirectional filtering. This type of relationship should only be used when strictly necessary (and there are not many cases when it really is) and when you know all the consequences of enabling it. So, please do yourself a favor and read some articles on &lt;A href="http://www.sqlbi.com" target="_blank"&gt;www.sqlbi.com&lt;/A&gt; about bidirectional relationships.&lt;BR /&gt;&lt;BR /&gt;And lastly... such a model will be much slower than necessary.&lt;BR /&gt;&lt;BR /&gt;You can thank me later for warning you.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
    <pubDate>Sat, 23 May 2020 08:52:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-23T08:52:42Z</dc:date>
    <item>
      <title>MISTAKE: LOOKUPVALUE, DOESN´T RETURN  ALL VALUES CORRECTLY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1102402#M16193</link>
      <description>&lt;P&gt;Hi everyone I have this problem with lookupvalue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formula is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Fecha recepción esperada = LOOKUPVALUE('Fitflow$Purchase Header'[Expected Receipt Date] ; 'Fitflow$Purchase Header'[No_] ; 'Fitflow$Sales Line (2)'[Nro de PC])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of that lines below have the same&lt;STRONG&gt;'Fitflow$Sales Line (2)'[Nro de PC]) &lt;/STRONG&gt;and&amp;nbsp;&amp;nbsp;as you can see this formula just return some of them and&amp;nbsp; others in blank. Why it is happening?&amp;nbsp; All the lines should have the same value.&amp;nbsp; I need your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your quick response.&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;&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, 22 May 2020 06:51:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1102402#M16193</guid>
      <dc:creator>JEANCARLOB7</dc:creator>
      <dc:date>2020-05-22T06:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: MISTAKE: LOOKUPVALUE, DOESN´T RETURN  ALL VALUES CORRECTLY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1102518#M16195</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="140529" data-lia-user-login="JEANCARLOB7" class="lia-mention lia-mention-user"&gt;JEANCARLOB7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The table you are showing is 'Fitflow$Sales Line (2)', correct?&lt;/P&gt;
&lt;P&gt;2. Where is the column 'Fitflow$Sales Line (2)'[Nro de PC]? Can you show it?&lt;/P&gt;
&lt;P&gt;3. Can you show the table you are trying to read from, 'Fitflow$Purchase Header'? Including columns 'Fitflow$Purchase Header'[Expected Receipt Date] and&amp;nbsp; 'Fitflow$Purchase Header'[No_]?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving kudos if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 07:39:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1102518#M16195</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-05-22T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: MISTAKE: LOOKUPVALUE, DOESN´T RETURN  ALL VALUES CORRECTLY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1106031#M16217</link>
      <description>&lt;P&gt;HI &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Acoording to the questión 1 , yes the table showed previously is&amp;nbsp;&lt;SPAN&gt;'Fitflow$Sales Line (2)',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I leave you what is required:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Fitflow$Sales Line (2)'&amp;nbsp; &amp;nbsp;---&amp;gt;many registers&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Fitflow$Purchase Header'&amp;nbsp; ----&amp;gt;one register&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relationship&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I will be attentive to your prompt response&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 16:01:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1106031#M16217</guid>
      <dc:creator>JEANCARLOB7</dc:creator>
      <dc:date>2020-05-22T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: MISTAKE: LOOKUPVALUE, DOESN´T RETURN  ALL VALUES CORRECTLY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1108845#M16246</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the solution. The relationship was the problem between purchase line table y purchase header. This relationship has to be unidirectional not bidirectional&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 03:21:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1108845#M16246</guid>
      <dc:creator>JEANCARLOB7</dc:creator>
      <dc:date>2020-05-23T03:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: MISTAKE: LOOKUPVALUE, DOESN´T RETURN  ALL VALUES CORRECTLY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1111886#M16252</link>
      <description>Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="140529" data-lia-user-login="JEANCARLOB7" class="lia-mention lia-mention-user"&gt;JEANCARLOB7&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;Not only does the relationship have to be unidirectional. The model above is a good way to fail miserably, especially in the future when you start adding more dimensions or when you start restructuring it (which sooner or later will happen).&lt;BR /&gt;&lt;BR /&gt;You should certainly read something about good model design and why you should stay away from bidirectional filtering. This type of relationship should only be used when strictly necessary (and there are not many cases when it really is) and when you know all the consequences of enabling it. So, please do yourself a favor and read some articles on &lt;A href="http://www.sqlbi.com" target="_blank"&gt;www.sqlbi.com&lt;/A&gt; about bidirectional relationships.&lt;BR /&gt;&lt;BR /&gt;And lastly... such a model will be much slower than necessary.&lt;BR /&gt;&lt;BR /&gt;You can thank me later for warning you.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Sat, 23 May 2020 08:52:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MISTAKE-LOOKUPVALUE-DOESN-T-RETURN-ALL-VALUES-CORRECTLY/m-p/1111886#M16252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-23T08:52:42Z</dc:date>
    </item>
  </channel>
</rss>

