Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PowerFabian
Frequent Visitor

Caluclated Column returning empty value

Hello,

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).
I filtered the table (the table is called 'Lieferantenprämie Hilfstabelle') for an example of the blank value:

PowerFabian_1-1615816384010.png

My formula is as follows: (For better understanding: Jahr=year, Quartal= quarter, Mitarbeiter ID= employee ID)

Individualprämie =
CALCULATE(
Sum('FACT_Individualprämie'[Planzahl]),
Filter(DIM_Jahr, DIM_Jahr[Jahr]='Lieferantenprämie Hilfstabelle'[Jahr]),
Filter(DIM_Quartal, DIM_Quartal[Quartal]='Lieferantenprämie Hilfstabelle'[Quartal]),
Filter(DIM_Mitarbeiter, DIM_Mitarbeiter[Mitarbeiter ID]='Lieferantenprämie Hilfstabelle'[Mitarbeiter ID])
)


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:

 

PowerFabian_0-1615818437552.png

 

But for one of these rows, my formula is returning an empty value.

Relation between DIM_tables and the table FACT_Individualprämie_
DIM_Jahr[Jahr]                               1:N   'FACT_Individualprämie'[Jahr]

DIM_Quartal[Quartal]                    1:N   'FACT_Individualprämie'[Quartal]

DIM_Mitarbeiter[Mitarbeiter ID]   1:N    'FACT_Individualprämie'[Mitarbeiter ID]

 

Does anyone know why or has an idea how to solve this?

 

Thanks and regards,

Fabian

1 REPLY 1
Anonymous
Not applicable

Consider two tables: 1 Fact Table and another Dimension Table
Screenshot 2021-06-04 at 9.37.28 AM.png

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)

 

  • 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)
  • Different Table Functions handle the presence of this Blank row differently.
    For eg., VALUES will always show the blank row but DISTINCT will not.

Note: If you think you might have missing values in your Lookup Table (or aren't sure), use VALUES to look. 
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 & not on the ONE side.

 

 

Kudos if this works for you. Thank you

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors