cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
linekrogh Helper III
Helper III

Issue with relationship between fact and datetable

Hi all,

 

I am quite experienced with SSAS and Power BI, but I have an issue with my date table, which was supposed to be straight forward.

 

I have 5 dimensions and 2 facts. All the relationships are set up using surrogate key. The data type for the surrogate key is "whole number". The cross filter direction is set to "single".

 

However my relationship to my calendar dimension / date dimension seems not to work. However, all other dimensions work as expected.

 

What have I done wrong - can somebody help me?

 

Link to the pbix file: https://www.dropbox.com/s/kca436awggmf0l6/InventoryPBIComm.pbix?dl=0

Link to pbix file

 

 

Capture.PNGRelationshipCapture.PNGfactInventoryTransactionsCapture.PNGdimDateCapture.PNGBarchart and no valuesCapture.PNGBarchart and no value - Year filtered by 2016Capture.PNGCount of items show the date hierarchy correct

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I know there is no relationship between my item dimension and my date dimension. ´:-)

 

Please help me someone.

 

1 ACCEPTED SOLUTION

Accepted Solutions
richbenmintz Solution Supplier
Solution Supplier

Re: Issue with relationship between fact and datetable

Have a look at your CalendarId column in the factInventorySnapshop View, they are not integer representations of dates, the Month portion is always 00, the join is correct however the data on the many side of the join does not match anything on the 1 side.

View solution in original post

5 REPLIES 5
Super User I
Super User I

Re: Issue with relationship between fact and datetable

is the iso_date field also a whole number?


Did I answer your question? Mark my post as a solution.
Proud a to be a Datanaut!
richbenmintz Solution Supplier
Solution Supplier

Re: Issue with relationship between fact and datetable

Can you include the PBIX file?

linekrogh Helper III
Helper III

Re: Issue with relationship between fact and datetable

Here is the pbix file - PBix file

 

Bests,

 

Line

richbenmintz Solution Supplier
Solution Supplier

Re: Issue with relationship between fact and datetable

Have a look at your CalendarId column in the factInventorySnapshop View, they are not integer representations of dates, the Month portion is always 00, the join is correct however the data on the many side of the join does not match anything on the 1 side.

View solution in original post

linekrogh Helper III
Helper III

Re: Issue with relationship between fact and datetable

You are absolutly right. Thanks a lot ! 🙂

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We've launched a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Top Solution Authors
Top Kudoed Authors