Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I need the earliest start date and latest end date from two different columns and put them as date range
Solved! Go to Solution.
@Yqy , If you need a two columns
Min(Table[Start])
Max(Table[End])
If you need as two measures
Minx(allselected(Table) , Table[Start])
Maxx(allselected(Table) ,Table[End])
If you want default a range based slicer , create a calendar with those date, I doubt you can initialize range based slicer
calendar(
Min(Table[Start]) , Max(Table[End]) )
@Yqy , If you need a two columns
Min(Table[Start])
Max(Table[End])
If you need as two measures
Minx(allselected(Table) , Table[Start])
Maxx(allselected(Table) ,Table[End])
If you want default a range based slicer , create a calendar with those date, I doubt you can initialize range based slicer
calendar(
Min(Table[Start]) , Max(Table[End]) )
the calender one works thank you
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
114 | |
97 | |
95 | |
68 | |
65 |