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,
Hope somebody can help me.
I have simple table (viz print screen) contains Quarters, Number, % from previous period.
BUT I want to use Quarter filter and compare for example 2021-Q1 and 2022-Q1, this is problem, because it doesnt work anymore, viz printscreen.
As you can see, it is still calculating previous period and it is not able to be dynamic.
This is my formula:
Solved! Go to Solution.
Hi @lucie_rabochova ,
Please use OFFSET and ALLSELECTED in dax to calculate previous row value, please see below and attched PBI file
Thank you so much! This is amazing solution and it works perfect.
All the best, Lucie
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 |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |