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.
Hi All,
I have the data with following snippet .I want to compare the current year forecast actuals with privious year actuals on forecastweeknumber scale on x axis .How can I create measure in dax.The result should be displayed based on forecastweek.
Forecastweek | Year | actuals |
2022-01 | 2022 | 200 |
2022-02 | 2022 | 201 |
2022-03 | 2022 | 202 |
2022-04 | 2022 | 203 |
2022-05 | 2022 | 204 |
2022-06 | 2022 | 205 |
2022-07 | 2022 | 206 |
2023-01 | 2023 | 207 |
2023-02 | 2023 | 303 |
2023-03 | 2023 | 304 |
2023-04 | 2023 | 305 |
2023-05 | 2023 | 306 |
Result in picture view
@amitchandak
Can you please help.
Solved! Go to Solution.
I created an example, I really hope it will help you
Hi @sanc_152
I hope the below solution works for you.
Create measure like below:
I hope my post helps you. Please give kudos and accept it as a solution!
Thanks!
Hi @sanc_152
I hope the below solution works for you.
Create measure like below:
I hope my post helps you. Please give kudos and accept it as a solution!
Thanks!
I created an example, I really hope it will help you
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 |
---|---|
79 | |
78 | |
58 | |
36 | |
33 |
User | Count |
---|---|
93 | |
59 | |
58 | |
49 | |
42 |