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.
Hi all,
I need additional help based on a previous solution: Filter Table based on MAX of date slicer
What I need is to not only filter a table based on a "Before"-based date slicer (already solved above), but to also show the same results in a chart filtered using the same date metric / slicer interface.
Any thoughts?
Thanks in advance,
Adam
Solved! Go to Solution.
@AFinster , you can not put a visual level filter for that, you need to have measure like this
measure=
var _min =MAxX('Date','Date'[Date])
return
CALCULATE('Table'[Sales], Filter(Date,'Date'[Date] =_min ))
@AFinster , you can not put a visual level filter for that, you need to have measure like this
measure=
var _min =MAxX('Date','Date'[Date])
return
CALCULATE('Table'[Sales], Filter(Date,'Date'[Date] =_min ))
Thanks @amitchandak ,
I modified the measure to suit my examples:
as the CALCULATE() function needed the SUM() function in the 1st parameter for it to work. This worked exactly as I needed!
User | Count |
---|---|
97 | |
76 | |
76 | |
47 | |
26 |