cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alex_Hasan
Helper II
Helper II

Blank rows due to data modeling problem

Hi, I am very ameature in finding mistakes. Look at the Adjustable Race and Chain, no value is showing here. I've given you the link of this file https://1drv.ms/u/s!AtNgJBWI0wXOddMheymYlp08Ci0.  You'll find it in Best Selling page. Please help me to find out the mistake. 

Capture.JPG

4 REPLIES 4
jdbuchanan71
Super User
Super User

Not really a clean way, no.  The easiest thing to do is make sure that all DimProduct entries have a ProductSubcategoryKey that can map to DimProductSubcategory table.

This is Adventureworks DW SQL Database. This is the limitation. 

Alex_Hasan
Helper II
Helper II

Is there any way to fill up this blanks using a calculated column? 

jdbuchanan71
Super User
Super User

@Alex_Hasan 

It's because the 'DimProduct'[ProductSubcategoryKey] is empty for some entries.  The DimProductSubcategory table must have the blank row added to it.  All the records from the DimProduct table that do not have a ProductSubcategoryKey map to the blank row in the DimProductSubcategory table.

jdbuchanan71_0-1654618438763.png

 

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors