<?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 Caluclated Column returning empty value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caluclated-Column-returning-empty-value/m-p/1722876#M35637</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an calculated column that is returning an empty value for an row and i am not quite understanding why. What I am trying to do with this calculated column is to returning the sum of another table (called 'Planzahl') with some specific parameters (year, quarter, employee id).&lt;BR /&gt;I filtered the table (the table is called &lt;SPAN&gt;'Lieferantenprämie Hilfstabelle')&lt;/SPAN&gt;&amp;nbsp;for an example of the blank value:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My formula is as follows: (For better understanding: Jahr=year, Quartal= quarter, Mitarbeiter ID= employee ID)&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Individualprämie =&lt;BR /&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Sum('FACT_Individualprämie'[Planzahl]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;Filter(DIM_Jahr, DIM_Jahr[Jahr]='Lieferantenprämie Hilfstabelle'[Jahr]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;Filter(DIM_Quartal, DIM_Quartal[Quartal]='Lieferantenprämie Hilfstabelle'[Quartal]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;Filter(DIM_Mitarbeiter, DIM_Mitarbeiter[Mitarbeiter ID]='Lieferantenprämie Hilfstabelle'[Mitarbeiter ID])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I don't understand the blank value, because all columns used in my formual are the same for this rows in my example as you can see here:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for one of these rows, my formula is returning an empty value.&lt;/P&gt;&lt;P&gt;Relation between DIM_tables and the table FACT_Individualprämie_&lt;BR /&gt;&lt;SPAN&gt;DIM_Jahr[Jahr]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1:N&amp;nbsp; &amp;nbsp;'FACT_Individualprämie'[Jahr]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DIM_Quartal[Quartal]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1:N&amp;nbsp; &amp;nbsp;'FACT_Individualprämie'[Quartal]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DIM_Mitarbeiter[Mitarbeiter ID]&amp;nbsp; &amp;nbsp;1:N&amp;nbsp; &amp;nbsp;&amp;nbsp;'FACT_Individualprämie'[Mitarbeiter ID]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why or has an idea how to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 14:27:38 GMT</pubDate>
    <dc:creator>PowerFabian</dc:creator>
    <dc:date>2021-03-15T14:27:38Z</dc:date>
    <item>
      <title>Caluclated Column returning empty value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caluclated-Column-returning-empty-value/m-p/1722876#M35637</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an calculated column that is returning an empty value for an row and i am not quite understanding why. What I am trying to do with this calculated column is to returning the sum of another table (called 'Planzahl') with some specific parameters (year, quarter, employee id).&lt;BR /&gt;I filtered the table (the table is called &lt;SPAN&gt;'Lieferantenprämie Hilfstabelle')&lt;/SPAN&gt;&amp;nbsp;for an example of the blank value:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My formula is as follows: (For better understanding: Jahr=year, Quartal= quarter, Mitarbeiter ID= employee ID)&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Individualprämie =&lt;BR /&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Sum('FACT_Individualprämie'[Planzahl]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;Filter(DIM_Jahr, DIM_Jahr[Jahr]='Lieferantenprämie Hilfstabelle'[Jahr]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;Filter(DIM_Quartal, DIM_Quartal[Quartal]='Lieferantenprämie Hilfstabelle'[Quartal]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;Filter(DIM_Mitarbeiter, DIM_Mitarbeiter[Mitarbeiter ID]='Lieferantenprämie Hilfstabelle'[Mitarbeiter ID])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I don't understand the blank value, because all columns used in my formual are the same for this rows in my example as you can see here:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for one of these rows, my formula is returning an empty value.&lt;/P&gt;&lt;P&gt;Relation between DIM_tables and the table FACT_Individualprämie_&lt;BR /&gt;&lt;SPAN&gt;DIM_Jahr[Jahr]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1:N&amp;nbsp; &amp;nbsp;'FACT_Individualprämie'[Jahr]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DIM_Quartal[Quartal]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1:N&amp;nbsp; &amp;nbsp;'FACT_Individualprämie'[Quartal]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DIM_Mitarbeiter[Mitarbeiter ID]&amp;nbsp; &amp;nbsp;1:N&amp;nbsp; &amp;nbsp;&amp;nbsp;'FACT_Individualprämie'[Mitarbeiter ID]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why or has an idea how to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 14:27:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caluclated-Column-returning-empty-value/m-p/1722876#M35637</guid>
      <dc:creator>PowerFabian</dc:creator>
      <dc:date>2021-03-15T14:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Caluclated Column returning empty value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caluclated-Column-returning-empty-value/m-p/1881223#M40436</link>
      <description>&lt;P&gt;Consider two tables: 1 Fact Table and another Dimension Table&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;In this eg, we have a Product Lookup Table containing 3 Product ID (12,13,14). But our Fact Table (Sales By Store) contains additional product IDs NOT included in the Product Lookup (15,16)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Instead of throwing an error when a value is missing from a lookup table, the DAX engine adds a BLANK row (which will appear in visuals when missing values are present)&lt;/LI&gt;&lt;LI&gt;Different Table Functions handle the presence of this Blank row differently.&lt;BR /&gt;For eg., VALUES will always show the blank row but DISTINCT will not.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note: If you think you might have missing values in your Lookup Table (or aren't sure), use VALUES to look.&amp;nbsp;&lt;BR /&gt;Values have some built-in logic that will return BLANK row if there's a value that is found on the MANY side of the relationship &amp;amp; not on the ONE side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kudos if this works for you. Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 04:13:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caluclated-Column-returning-empty-value/m-p/1881223#M40436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-04T04:13:55Z</dc:date>
    </item>
  </channel>
</rss>

