Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I am currently working with insurance data where policy gets renewed or new policy is placed. I want to achieve something like this:-
There is a policy ABC-2021 which gets renewed and policy no changes to ABC-2022. This policy again gets renewed next year and becomes policy ABC-2023 and so on. I have data in below format.
My objective is whenever I select any policy no, I should see its previous policy performance. For eg if I select ABC-2023, I should see data for ABC-2022 as well like in the below chart.
I have written below DAX
last_year_value =
What am I missing?
Regards,
Amit Darak
Solved! Go to Solution.
It's much simpler.
Hi,
It worked well when I didn't use the filter function.
I tried using this dax with filter function, it gave me blank values.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Hi,
I think I complicated it unnecessarily. It was pretty simple.
Thanks.