Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
40 | |
27 | |
20 | |
14 | |
8 |
User | Count |
---|---|
76 | |
48 | |
46 | |
20 | |
16 |