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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dyingod
Helper I
Helper I

Newbie baby-steps question

Hello!

 

My company just decided to switch to Power BI for all reporting and I've been watching the tutorials religiously but I'm obviously doing something wrong... can anyone with patience help? This is definitely a stupidly obvious thing I'm missing because my Power BI experience is only 10 minutes old.

 

Why don't dates show up properly here if my relationships SEEM to be all good? I've left the date hierarchy in so that you see that DimDate is formatted as a date (I can confirm that so is the Date column in my FactTable). But the issue is just that I expected Cost to be broken down by date and yet date is empty ("Year" in this case). Thanks in advance! Smiley Embarassed

 

dashboard.PNGrelationships.PNG

1 ACCEPTED SOLUTION

You should only create Dimension tables if the dimensions have 3+ columns. In your case the dimension tables only have a single column, so there is no reason to have these at all. Just load the single flat table. 

 

Re your problem, are you sure the relationship a created properly?



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

2 REPLIES 2

You should only create Dimension tables if the dimensions have 3+ columns. In your case the dimension tables only have a single column, so there is no reason to have these at all. Just load the single flat table. 

 

Re your problem, are you sure the relationship a created properly?



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Hey Matt,

 

Thanks for this! After a few hours mucking around I've found the answer to the question... and it's a super noob one... my FactTable date wasn't formatted as a date even though my Dimension table data was. Once that was rectified, it was smooth sailing then.

 

Thanks again for your help. I just wanted to fix the issue for the sake of learning but I will follow your advice and just query straight from fact table. Cheers

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.