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.
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.
User | Count |
---|---|
98 | |
76 | |
74 | |
49 | |
26 |