Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
I have multiple visuals on a page all being filtered by a Date[Year] slicer.
I'd like to have one of the visuals show three years data which dynamically shifts based on the Year selected. For example if the slicer shows 2024 --- the visual shows data 2022 - 2024.
I tried using this measure as a filter for the specified visual, but it does not work:
Hi @KrisKolady ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
HI @KrisKolady,
In fact, the relationship and the filter effects from related fields have higher priority than measure filters.
Their effect will be enabled on the virtual table that visual and measure used before the customize measure filter applied and you can't use measure expression and dax funcitons to ignore these effects.
Notice: the data level of power bi(from parent to child level)
Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)
Regards,
Xiaoxin Sheng
Hi @KrisKolady ,
please share sample pbix file or data in excel
you can use below logic to restrict data for only 3 years by creating measure as shown below for that visual
calculate (measure,
filter(all(calendar[date]),
calendar[date]>=selected date- 3years &&
calendar[date]<=selected date)
)
It's the only way.
Thank you for confirming. - Kris
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 48 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 118 | |
| 117 | |
| 38 | |
| 36 | |
| 27 |