Forum Discussion
android1
Post Patron
8 years agoFilter between hours in the day
Hi, This calc column 8AM-10PM = IF(HOUR(vw_PivotChargesFrontPage[Visits_StartTime]) >= 8 && HOUR(vw_PivotChargesFrontPage[Visits_EndTime]) <= 22 ,TRUE(),FALSE()) returns all calls with a sta...
- 8 years ago
Would need sample data posted that I can copy and paste, just been hacking up to this point.
- 8 years ago
Add the following Boolean expression as well.
vw_PivotChargesFrontPage[Visits_StartTime] <= vw_PivotChargesFrontPage[Visits_EndTime]
android1
Post Patron
8 years agoYes, thank you. Greg_Deckler Your code works perfectly with the added expression from v-chuncz-msft
Greg_Deckler
Community Champion
8 years agoCool! The power of teamwork!