Forum Discussion
Calendar Table Create Relationshiop But Doesn´t Work
Hi!
I have an unusual problem with my calendar Table.
I have a Fact Table called RegistroSolicitudes, in wich it has a column name "Created" (Date Time), and I have my calendar table created by:
¿Any ideas what to do?
- Anonymous5 years ago
Thanks to @amitchandak I couldn't create that new calculated column
Instead I had the idea to create the idFecha column in the two tables as follows:
idFecha a YEAR(RegisterSolicitudes[Created])*10000+MONTH(RegisterSolicitudes[Created])*100+DAY(RegisterSolicitudes[Created])And create the same column with the Date column in the Calendar table and relate these two columns. It's a play!Thank you so much for your help!
3 Replies
- amitchandak
Super User
Anonymous , Created has a timestamp in it . so create a date like this
Created Date = [Created].date
And join this with date of date table inplace of created and use.
Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.- AnonymousNot applicable
Thanks to @amitchandak I couldn't create that new calculated column
Instead I had the idea to create the idFecha column in the two tables as follows:
idFecha a YEAR(RegisterSolicitudes[Created])*10000+MONTH(RegisterSolicitudes[Created])*100+DAY(RegisterSolicitudes[Created])And create the same column with the Date column in the Calendar table and relate these two columns. It's a play!Thank you so much for your help!- v-yingjl
Community Support
Hi Anonymous ,
Glad to hear the issue is solved😀. You can accept the suitable reply as solution, that way, other community members could easily find the answer when they get same issues.
Best Regards,
Yingjie Li