Forum Discussion
Calendar table relationships problem
- Anonymous2 years ago
Hi Razik_BNPL ,
The date column in the "Final" table has a timestamp, so you need to create a separate date column and use that date column to create a relationship with the calendar table.Date = DATE ( YEAR ( 'Final'[Submit Date and Time] ), MONTH ( 'Final'[Submit Date and Time] ), DAY ( 'Final'[Submit Date and Time] ) )Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi Razik_BNPL
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Ritaf1983 123abc noted with thanks. can you pls help on this now?
calendar table
| Date | Year | Month no | Month |
| 1/3/2022 12:00:00 AM | 2022 | 1 | January |
Table 1
| name | submit date and time | rating | langauge |
| Sams | 7/12/2021 9:37:39 AM | 1 | English |
- Anonymous2 years agoNot applicable
Hi Razik_BNPL ,
The date column in the "Final" table has a timestamp, so you need to create a separate date column and use that date column to create a relationship with the calendar table.Date = DATE ( YEAR ( 'Final'[Submit Date and Time] ), MONTH ( 'Final'[Submit Date and Time] ), DAY ( 'Final'[Submit Date and Time] ) )Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum