Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have 3 slicers to
that query's status date Daterange1 or Datarange3 or Daterange3
created three tables for the dates
DateRange1 = SUMMARIZECOLUMNS(vw_patientListNew[StatusDate].[Date])
DateRange2 = SUMMARIZECOLUMNS(vw_patientListNew[StatusDate].[Date])
DateRange3 = SUMMARIZECOLUMNS(vw_patientListNew[StatusDate].[Date])
created datefinterrange collumn
DateFilterRange =
IF(
MAX(vw_patientListNew[StatusDate])>=[MinselectedDateRange1] && MAX(vw_patientListNew[StatusDate])<=[MaxselectedDateRange1] ||
MAX(vw_patientListNew[StatusDate])>=[MinselectedDateRange2] && MAX(vw_patientListNew[StatusDate])<=[MaxselectedDateRange2] ||
MAX(vw_patientListNew[StatusDate])>=[MinselectedDateRange3] && MAX(vw_patientListNew[StatusDate])<=[MaxselectedDateRange3]
,1,Blank())
and adding
to restrict the table filter.
I am not getting the desired results. Can anyone let me know the issue? Thanks
@Anonymous , refer if this can help
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
@amitchandak , @AntrikshSharma I removed the measure in a calculated field and it's still not working
TimeFrameDateRangeCol1 =
IF(MAX(vw_patientListNew[StatusDate]) in VALUES(DateRange1[Date]),1)
User | Count |
---|---|
53 | |
28 | |
19 | |
18 | |
14 |
User | Count |
---|---|
92 | |
86 | |
39 | |
23 | |
22 |