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 the following data
| date/time | type |
| 19/9/2023 16:10:02 | A |
| 20/2/2023 16:10:02 | B |
| 20/2/2023 9:00:11 | B |
| 20/3/2023 12:22:34 | A |
i want the orders that comes after duty hours which is 7:00:00 to 15:00:00 to be included with the day after
so the order number 2 should be summed with the orders on 20/3/2023 because it came on 16:10:02 which is after 15:00:00
please helo and thank you
=CALCULATE(DISTINCTCOUNT(Table[Type]),FORMAT(Table[date/time]+TIME(9,0,0),"yyyyMMdd")="20230320")
hi i appreciate your help please check this out for clearity
what's the desired output?Count orders per day? yes count the orders py day with a condition which " if order came between the time 7:00:00 to 15:00:00 count it as today's orders if not count it with tommorrows orders. i hope it is clear
What do you do for the first order which is also outside your time range? the time range starts from 1/june/2018 and ends at today's date no matter what date is it today i need it to be automatically linked with today.
THANK YOU FOR CONSIDERATION and please help
Hi, @mina97
i am take these example
add column
put newdate and order to table
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.