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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a measure which assigns 1 if the date is maximum of the two dates selected in the slicersand 0 otherwise.
It works fine as long as i have both the dates in the visual table.
But as sson as i filter to Item location zz4 using item location another slicer it shows 1 as max_date
Ideally it should show as 0.
I want this measure to work only on the basis of dates present in date slicer and not in the visual.
Can this be dine in powerbi?
@Anonymous
Use all(location) in measure or switch of interactions
https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions
Hello @amitchandak
I am not sure if my understanding is correct but edit interactions feature will allow me only to switch the filtering of the table on/off based on the item location slicer. I am able to switch off the slicer interaction but then i loose the ability to filter.
I still want to filter the table using the slicer but need it not to affect the measure.
Let me know if i am wrong and if this can be achieved in some other way.
Also can you please help if i should replace the ALLSELECTED with ALL(item location) in the measure?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |