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
My visual is a table that contains two fields:
Calendar[Date]
[Sum of Sales] - a measure
I'm looking for a simple measure that returns TRUE or FALSE when the field Calendar[Date] is on the visual (thus affecting the context).
So,
HASONEFILTER(Calendar[Date]) returns FALSE
HASONEVALUE(Calendar[Date]) also returns FALSE
ISFILTERED(Calendar[Date]) also returns FALSE
etc...
I could use:
But, is there a DAX function for this?
Thank you!
Solved! Go to Solution.
@webportal - Wait, I might have lied. I am known for this. ISINSCOPE
@webportal - Wait, I might have lied. I am known for this. ISINSCOPE
Interesting one, thanks for this!
@webportal - No, not exactly, this is how @marcorusso does it:
https://www.sqlbi.com/articles/displaying-filter-context-in-power-bi-tooltips/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |