Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
FIN_List_Posting_Date_Filter =
VAR DateList = SELECTEDVALUE(My_Report_Date[Report],"Posting Date")
VAR SlicerMIN = MIN(DateTimeTable[DateTime])
VAR SlicerMAX = MAX(DateTimeTable[DateTime])
/*VAR StartDateMIN= IF(NOT(ISFILTERED(My_Report_Date[Report])),[StartDate])
VAR StartDateMAX= IF(NOT(ISFILTERED(My_Report_Date[Report])),[EndDate])*/
VAR
PostedFilter = SWITCH( TRUE(),
DateList ="Posting Date" , IF(ISFILTERED(DateTimeTable[DateTime]),
CALCULATETABLE(
FILTER(Charges,
Charges[POSTED_DT_TM] >= SlicerMIN &&
Charges[POSTED_DT_TM] <= SlicerMAX + TIME(0, 59, 59))),
CALCULATETABLE(
FILTER(Charges,
Charges[POSTED_DT_TM] >= [StartDate] &&
Charges[POSTED_DT_TM] <= [EndDate]+1))))
RETURN PostedFilter
Use a disconnected table for your slicer, and a measure filter for the visual.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
19 | |
15 | |
7 | |
6 |