Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have raised a couple of post with this problem broken down, however as of yet I have been unable to solve the riddle with all the fantastic help offered. So going to try a different approach.
I hope that makes sense and seem logical. I am very open to suggestion and maybe a better way of presenting this data.
Thanks for any help in advance.
Craig
In this scenario, you can create a calculated column to drive the time part from your datetime column.
Time Part = Time(HOUR(Table[wo_built_datetime]),MINUTE(Table[wo_built_datetime]),SECOND(Table[wo_built_datetime]))
Then you can create a shift column for tagging Day or Night.
Shift = IF(Table[Time Part]<Time(7,0,0),"Night","Day")
Now you can create a Actual Resolved Date column.
Actual Resolved Date = IF(Table[Shift]="Night",DATEADD(Table[wo_built_date],-1,DAY),Table[wo_built_date])
Regards,
Thanks for your help. I am using directquery and it tells me that the DATEADD function even with unrestricted measures enabled is unallowed.
The solution would be perferct aprt from this minor issue.
Thanks @CraigBlackman
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.