Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello All. I am currently working on a data set which has billing date and Financial year ... If Financial Year 2023 is selected it has to show the last 5 year sales and it has to compare the sales . I have data for FY 2020,2021 ,2022and 2 months of FY 2023. I have to show the comparision line of 2 months of FY 2023 with respect to the same months in the previous year . Currently it compares the partial data of 2023 with full year of 2022
The DAx I have written is
Relationships:
Solved! Go to Solution.
Hi @sailesh_kumar ,
In your measures, try to also add another filter of month. Both year=currentyear-1 and month in currentmonths.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can get a like for like comparison with
Revenue prev year = CALCULATE( [Revenue], DATEADD('Date'[Date], -1, YEAR))
I tried this and using this gives the year on year comparision as a flat line... This issue is arising mainly because the requirement is based on financial date as slicer
Hi @sailesh_kumar ,
In your measures, try to also add another filter of month. Both year=currentyear-1 and month in currentmonths.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |