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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Godseyma
Regular Visitor

Missing Data

image.jpg

I have uploaded the last 3 fiscal years worth of data and everything seems to checkout , however I am missing some info. I have checked my relationships between tables and everything seems to be working. How do I fix this issue? It obviously shows that there are values but would like to figure out where 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Godseyma 

 

this often indicates that values from the column of the many side (the fact table) of a relationship are missing in the column on the one side of the relationship (the dimension table). Rephrasing this means, the dimension table products contains the values P1, P2, but the fact table has values for P1, P2, and P3.

 

Assuming I have a very simple model that looks like this:

image.png

As you can see, there is a fact row with p3, but p3 is not in the dimension table. Building a simple table visual yields the below result:

TomMartens_0-1708495361821.png

This issue can be tracked down by creating a calculated column in the fact table using the following DAX:

 

 

_check product key = 
IF( ISBLANK( RELATED( 'dim product'[productkey] ) ), "value is missing in product dimension" , "everything is fine" )

 

 

Now, using this calculated column in combination with the productkey column from the fact table helps to track the missing value:

image.png

 

The missing value will also appear if you use the column productcolor from the dimension table:

image.png

First check if all product keys are present in the dimension table, then you have to look for empty productcolors values in your dimension table.

 

If your semantic model is more complex, and there are relationships with the dimension table, as in fact --> product --> prouct subcategory  --> product category, the tracking will become more cumbersome 😉, but the approach will the same.

 

Hopefully, this will help to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

4 REPLIES 4
TomMartens
Super User
Super User

Hey @Godseyma 

 

this often indicates that values from the column of the many side (the fact table) of a relationship are missing in the column on the one side of the relationship (the dimension table). Rephrasing this means, the dimension table products contains the values P1, P2, but the fact table has values for P1, P2, and P3.

 

Assuming I have a very simple model that looks like this:

image.png

As you can see, there is a fact row with p3, but p3 is not in the dimension table. Building a simple table visual yields the below result:

TomMartens_0-1708495361821.png

This issue can be tracked down by creating a calculated column in the fact table using the following DAX:

 

 

_check product key = 
IF( ISBLANK( RELATED( 'dim product'[productkey] ) ), "value is missing in product dimension" , "everything is fine" )

 

 

Now, using this calculated column in combination with the productkey column from the fact table helps to track the missing value:

image.png

 

The missing value will also appear if you use the column productcolor from the dimension table:

image.png

First check if all product keys are present in the dimension table, then you have to look for empty productcolors values in your dimension table.

 

If your semantic model is more complex, and there are relationships with the dimension table, as in fact --> product --> prouct subcategory  --> product category, the tracking will become more cumbersome 😉, but the approach will the same.

 

Hopefully, this will help to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
danextian
Super User
Super User

Hi @Godseyma ,

Compare the industry column from your dimension table vs the industry column in your fact table. A blank row means that there are more distinct values in your fact that in your dim. You can just put the two columns side by side in one table visual.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

the only table that has industry in it is my industry table. My fact table does not have industry for this data. Any thoughts? Thank you for your response!

There should be some kind of a key that connects the two tables or the Industry column in the dimension table has blanks.  Alternatively, you can write a calculated column in  your fact table to check whether the current row has an equivalent in the industry table. Example:

= RELATED ( IndustryTable[IndustryColumn )

Check for the rows that return blank.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.