Forum Discussion
Excluding Time Frames in Visual when Populating Values with a Measure and Rows with Time Bins
I have a measure that is taking seconds, which corresponds with downtime for a specific machine, and turns it into a duration.
Here is the measure :
I wrote a calculated column I was wanting to use as a filter since break and lunch times should not be counted towards downtime:
Phew. Create a calendar table that goes down to that level (ie 48 rows per day) and then based your measures on that new calendar table, using EXCEPT and INTERSECT.
3 Replies
- lbendlinSuper User
what's the biggest bin size you can get away with for this? half hour slots? 15 minute slots? 5 minutes?
- villasenorbrittResolver I
Half hour slots is the biggest bin size I can get away with for this.
- lbendlinSuper User
Phew. Create a calendar table that goes down to that level (ie 48 rows per day) and then based your measures on that new calendar table, using EXCEPT and INTERSECT.