The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
I’m working on a Power BI dashboard where I have three instances of the same visualization, and I want each to display data for a different year based on a single slicer selection:
For example, if the user selects 2025, the visuals should show:
If the user selects 2018, they should display:
How can I dynamically display the selected year, previous year, and next year across three separate visuals while keeping them responsive to the slicer?
Any suggestions or alternative approaches would be greatly appreciated! Thanks in advance.
Solved! Go to Solution.
Use WINDOW functions instead (OFFSET, for your case)
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Thanks for your reply and sorry for the delay in responding. I am attaching a .pbix file with sample data that illustrates my problem.
Thank you so, so much. Huge help. I appreciate you.