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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey all,
I have a bar chart which is using the field parameter feature that allows the end user to change metrics, the chart plots some selected metric (X, Y, Z) against the week number.
I would like to add another dynamic metric which shows the same metric as the one selected in the slicer but for the same weeks last year.
I have figured out how to get the selected value from the field parameter selection via this measure:
The last week of the 2019 measure is missing (the line in the photo). And there is a date slicer that can be used at the top of the page.
My calendar table looks like this:
Is there a way I can get 2019 data for the same weeks e.g in above 26-29?
Thanks
Solved! Go to Solution.
Hi, @rikpatel1998
Could you please tell me whether your problem has been solved?
Best Regards,
Community Support Team _ Eason
Hey,
Sorry, forgot to mark the comment as the solution - this problem has been resolved
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 48 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 67 | |
| 50 |