Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
76 | |
57 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |