Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Check this out. I have sales data going back to 2018 in this dataset. The "YearMinus" shows that the
Date(selectedvalue('Query1'[year])-1,1,1)
produces 1/1/2021 when clicked on 2022 year.
yet, the measure brings back the same exact number as the slicer, despite me wanting everything from 1/1/2021 based on 2022 being selected. Oh wait... the measure isn't able to overcome the slicer is it. The slicer is keeping this within 2022. I need a separate year table that's indepdenent. I think i figured this out actually. I'll still post it in case it helps anyone else.
Solved! Go to Solution.
@Zarlot531 Not sure you need a separate table, you could use ALL or ALLEXCEPT to override the slicer filter context and then filter down to the dates you want.
@Zarlot531 Not sure you need a separate table, you could use ALL or ALLEXCEPT to override the slicer filter context and then filter down to the dates you want.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |