cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
HolgerS
Frequent Visitor

Relationship between dimension and data table based on date column

Hello,

 

I have problems to build a relationship between a dimension table and a data tabel based on Date. The dimension table contains a column in the Date-format, the data table in the DateTime-format. If this causes the problem: Is there any function, which transforms the DateTime-format into Date-format. I still need the DateTime-format in the original column and want to add a copy as new column only in Date-Format. Thanks for you kind reply.

 

Holger

1 ACCEPTED SOLUTION

Accepted Solutions
Super User IV
Super User IV

Re: Relationship between dimension and data table based on date column

create a new date column using the format function.  And join the dimension using that.

 

Column = FORMAT(Table[date],"MM-DD-YYYY")

 

 





Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
In case it does not help, please provide additional information and mark me with @
My Recent Blog -Week is not so Weak Proud to be a Super User! Connect on Linkedin


View solution in original post

3 REPLIES 3
Super User IV
Super User IV

Re: Relationship between dimension and data table based on date column

Hi,

In a calculated column formula, write this formula

=INT(Data[DateTime])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Super User IV
Super User IV

Re: Relationship between dimension and data table based on date column

create a new date column using the format function.  And join the dimension using that.

 

Column = FORMAT(Table[date],"MM-DD-YYYY")

 

 





Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
In case it does not help, please provide additional information and mark me with @
My Recent Blog -Week is not so Weak Proud to be a Super User! Connect on Linkedin


View solution in original post

HolgerS
Frequent Visitor

Re: Relationship between dimension and data table based on date column

Thanks, I will try both solutions.

Holger

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