Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I want to compute the Sales for the between a date range. For example If I select March 1st 2017 to March 15th 2017, it has to calculate immediate 15 days before data and show the % change. or If a user select 10 days of data it has to compare the immediate 10 days previous data and show the % change.
Please help, as this is very urgent!
Solved! Go to Solution.
Hi @Jagzz,
I think following blog will suitable for your requirement.
Previous Dynamic Period DAX Calculation
Regards,
Xiaoxin Sheng
Hi @Jagzz,
I think following blog will suitable for your requirement.
Previous Dynamic Period DAX Calculation
Regards,
Xiaoxin Sheng
Hi Guys, thanks for the support.
But I am still confused about the flow that is provided in the blog. Would it be possible to provide the steps according to my query.
I have "SalesTable" and If I select March 1st 2017 to March 15th 2017, it has to calculate immediate 15 days before data and show the % change. or If a user select 10 days of data it has to compare the immediate 10 days previous data and show the % change.
Please help!
Thanks & regards,
Jaagz
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |