<?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: Calculated column rows do not return values for all rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2417201#M63859</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="132222" data-lia-user-login="Sai_Alkesh" class="lia-mention lia-mention-user"&gt;Sai_Alkesh&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;Please remove any relationship between currency and sales table, and you can get the expected result...&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 08:27:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-25T08:27:15Z</dc:date>
    <item>
      <title>Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408308#M63316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 2 tables - Currency &amp;amp; Sales and they are connected by many to many relationship.&lt;/P&gt;&lt;P&gt;I have created a calculated column in Sales table, and it returns value for only one condition, where the period is equal to '20214'. For other rows, where the period is &amp;lt;&amp;gt; 20214, the values are blank. Below is my table structure &amp;amp; the DAX&lt;/P&gt;&lt;P&gt;Table &lt;STRONG&gt;Currency&lt;/STRONG&gt; -&lt;/P&gt;&lt;P&gt;Field&amp;nbsp; &amp;nbsp; &amp;nbsp;LCurrency&amp;nbsp; &amp;nbsp; &amp;nbsp;FCurrency&amp;nbsp; &amp;nbsp; &amp;nbsp;FXRate&amp;nbsp; &amp;nbsp; &amp;nbsp;Type&amp;nbsp; &amp;nbsp; &amp;nbsp;Period&lt;/P&gt;&lt;P&gt;yyyym&amp;nbsp; &amp;nbsp;EUr&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GBp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.8545&amp;nbsp; &amp;nbsp; &amp;nbsp; AVRS&amp;nbsp; &amp;nbsp; 20214&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GBp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.1684&amp;nbsp; &amp;nbsp; &amp;nbsp; AVRS&amp;nbsp; &amp;nbsp; 20214&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;JPy&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Eur&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.8808&amp;nbsp; &amp;nbsp; &amp;nbsp; RNMJ&amp;nbsp; &amp;nbsp;20214&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table &lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Field&amp;nbsp; &amp;nbsp; &amp;nbsp;Item&amp;nbsp; &amp;nbsp; &amp;nbsp;Currency&amp;nbsp; &amp;nbsp; &amp;nbsp;Sales&amp;nbsp; &amp;nbsp; &amp;nbsp;Period&amp;nbsp; &amp;nbsp; &amp;nbsp;Calculated Column Value&lt;/P&gt;&lt;P&gt;yyyym&amp;nbsp; 0123&amp;nbsp; &amp;nbsp; &amp;nbsp;USd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10000&amp;nbsp; &amp;nbsp; 20214&amp;nbsp; &amp;nbsp; &amp;nbsp; 8558.712&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4567&amp;nbsp; &amp;nbsp; &amp;nbsp;USd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8000&amp;nbsp; &amp;nbsp; &amp;nbsp;20213&amp;nbsp; &amp;nbsp; &amp;nbsp;BLANK, value should be &lt;FONT color="#FF0000"&gt;6846.97&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8787&amp;nbsp; &amp;nbsp; &amp;nbsp;EUr&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2000&amp;nbsp; &amp;nbsp; &amp;nbsp;20216&amp;nbsp; &amp;nbsp; &amp;nbsp;BLANK, value should be &lt;FONT color="#FF0000"&gt;2340.55&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DAX&lt;/STRONG&gt; is:&lt;/P&gt;&lt;P&gt;'SALES'[Sales] *&lt;/P&gt;&lt;P&gt;DIVIDE(1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;CALCULATE(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; FIRSTNONBLANK('Currency'[FXRate], TRUE() ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FILTER(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Currency'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Currency'[LCurrency] = 'Sales'[Currency] &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Currency'[FCurrency] = "GBP" &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Currency'[Type] = "AVRS" &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Currency'[Period] = "20214")&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help on this please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 05:38:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408308#M63316</guid>
      <dc:creator>Sai_Alkesh</dc:creator>
      <dc:date>2022-03-22T05:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408539#M63331</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 07:05:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408539#M63331</guid>
      <dc:creator>Sai_Alkesh</dc:creator>
      <dc:date>2022-03-22T07:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408555#M63332</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="132222" data-lia-user-login="Sai_Alkesh" class="lia-mention lia-mention-user"&gt;Sai_Alkesh&lt;/a&gt; , If all rate rae there then you should compare period with period &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'SALES'[Sales] *&lt;/P&gt;
&lt;P&gt;DIVIDE(1,&lt;/P&gt;
&lt;P&gt;CALCULATE(&lt;/P&gt;
&lt;P&gt;FIRSTNONBLANK('Currency'[FXRate], TRUE() ),&lt;/P&gt;
&lt;P&gt;FILTER(&lt;/P&gt;
&lt;P&gt;'Currency'&lt;/P&gt;
&lt;P&gt;'Currency'[LCurrency] = 'Sales'[Currency] &amp;amp;&amp;amp;&lt;/P&gt;
&lt;P&gt;'Currency'[FCurrency] = "GBP" &amp;amp;&amp;amp;&lt;/P&gt;
&lt;P&gt;'Currency'[Type] = 'sales'[Type] &amp;amp;&amp;amp;&lt;/P&gt;
&lt;P&gt;'Currency'[Period] = sales[Period])&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 07:10:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408555#M63332</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-22T07:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408664#M63335</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;- it still gives the same result. The reason i have the period in the filter clause is, 'cos i want to get the inverse value of FX rate which is for that period. Once i get that rate, i want to multiply the sales from Sales table with this derived rate.&lt;/P&gt;&lt;P&gt;In the calculated column of Sales table, it shows me the result of the derived value, however it only shows where the period in sales table is '20214'&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 07:40:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408664#M63335</guid>
      <dc:creator>Sai_Alkesh</dc:creator>
      <dc:date>2022-03-22T07:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408749#M63340</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="132222" data-lia-user-login="Sai_Alkesh" class="lia-mention lia-mention-user"&gt;Sai_Alkesh&lt;/a&gt; , do you have rates other than 20214. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can share a little bigger sample to test&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 08:11:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408749#M63340</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-22T08:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408848#M63345</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;- yes, i do. The currency table has the budget rate which is set to period 20214 for various currencies, however they are valid for the full year.&lt;/P&gt;&lt;P&gt;In Sales tables, since we have sales by individual month, we want to multiply the monthly sales with the budget rate.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 08:50:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2408848#M63345</guid>
      <dc:creator>Sai_Alkesh</dc:creator>
      <dc:date>2022-03-22T08:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2411187#M63525</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="132222" data-lia-user-login="Sai_Alkesh" class="lia-mention lia-mention-user"&gt;Sai_Alkesh&lt;/a&gt; , if there valid for a full year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will add the year in both tables and join that instead of period&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;year = left([Period year],1)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 05:30:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2411187#M63525</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-23T05:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2411682#M63540</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, thanks for extending the support. I tried as suggested, however its the same output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried with lookupvalue, since Filter was iterative, hence leaving blanks for period other than 20214, however it doesnt work either.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 09:06:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2411682#M63540</guid>
      <dc:creator>Sai_Alkesh</dc:creator>
      <dc:date>2022-03-23T09:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column rows do not return values for all rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2417201#M63859</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="132222" data-lia-user-login="Sai_Alkesh" class="lia-mention lia-mention-user"&gt;Sai_Alkesh&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;Please remove any relationship between currency and sales table, and you can get the expected result...&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:27:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-rows-do-not-return-values-for-all-rows/m-p/2417201#M63859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-25T08:27:15Z</dc:date>
    </item>
  </channel>
</rss>

