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,
I have a 'Comparable' filter, and currently, I default the previous year calculation to -1. This means it defaults to 2023, but I want the comparable spend to be dynamic based on the selected fiscal year. For example, when I change to 2022, the current fiscal year number (which in my example is filtered to 2024) should be compared, meaning all the common Site PNs in 2022 and 2024 only. I tried to use 'Last N'[Var], but I am getting an error.
Can you help me with this? Thanks a lot.
I uploaded here the pbi file
https://drive.google.com/file/d/13mOcZwMqymf2cSguEtyEAHG74nnVwrpw/view?usp=sharing
Solved! Go to Solution.
@jovendeluna21, In case you need year by selection, you need a disconnected table to select the second year. Example
How to use two Date/Period slicers
@jovendeluna21, In case you need year by selection, you need a disconnected table to select the second year. Example
How to use two Date/Period slicers
Hi, @amitchandak , Thanks for your response, however, I find it hard with my file. Can you try to check? Thank you!
https://drive.google.com/file/d/13mOcZwMqymf2cSguEtyEAHG74nnVwrpw/view?usp=sharing