Forum Discussion
Calendar multiple relations in one table not working
Hello All,
I have created a calendar table and have multiple date relationships with a single table. The table has an assigned date and a closed date for work orders. I want to show how many workorders are assigned and closed per month and per technician. To do this I created a column that had the number of work orders per ticket (1 order per ticket) and then created a measure called Total_WO (standing for total work orders). I tried to create a Total_WO_Assigned measure and a Total_WO_Closed measure using the following code:
Anonymous ,
Looking at the visual as all dates are blank for Total_WO_Assigned . Means date table is not having all WO_AssignDate. Or WO_AssignDate is having timestamp.
To check change the format to date time and use a format with time. Time other than 00:00 or 12:00 AM might be there
Create a new column without time and join that with date table
WO_AssignDate 1 = datevalue([WO_AssignDate])
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4
4 Replies
- amitchandak
Super User
Anonymous , I hope year date, and month are coming from the date table. They should be from date table
- AnonymousNot applicable
amitchandak Yes, they are! If I would do it with the assign date or close date it will work but then I can no longer display them apporpriatly on the same table. I was hoping by using the date table I could display them on the same table
- amitchandak
Super User
Anonymous ,
Looking at the visual as all dates are blank for Total_WO_Assigned . Means date table is not having all WO_AssignDate. Or WO_AssignDate is having timestamp.
To check change the format to date time and use a format with time. Time other than 00:00 or 12:00 AM might be there
Create a new column without time and join that with date table
WO_AssignDate 1 = datevalue([WO_AssignDate])
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4