Forum Discussion
Calculate/Visualize Time Duration Dynamically Based on Selected Values in Date Slicer / Row Context
- 2 years ago
Anonymous , for that you need a measure like
Sumx(Table,datediff( Max(selectedvalue(Date[Date]) , Table[Start Date]), Min(selectedvalue(Date[Date]) , Table[Exit Date]), Day))
As this a measure, you need segmentation for frequency
example
Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ
Also joins with the date table can be active or inactive based on the need, refer files if needed
Anonymous , for that you need a measure like
Sumx(Table,datediff( Max(selectedvalue(Date[Date]) , Table[Start Date]), Min(selectedvalue(Date[Date]) , Table[Exit Date]), Day))
As this a measure, you need segmentation for frequency
example
Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ
Also joins with the date table can be active or inactive based on the need, refer files if needed