This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Guys, good morning!
Alright ?
I have a problem, I would like to compare this month's sales with last month's, but the comparison has some requirements.
1st I need to compare with the same period last month and not the msm date an example would be
get the sales period from 11/18 to 11/24
and compare with 10/21 to 10/27.
Any doubts I am available
Solved! Go to Solution.
Hi @Vitor_sp_bo ,
Please refer to use Weeknum DAX.
https://docs.microsoft.com/en-us/dax/weeknum-function-dax
If it does not help,please provide some data and desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Vitor_sp_bo ,
Please refer to use Weeknum DAX.
https://docs.microsoft.com/en-us/dax/weeknum-function-dax
If it does not help,please provide some data and desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Vitor_sp_bo
You need to duplicate your date table and use it as a slicer for the 2nd period to compare, build one measure to get the total sales based on the primary dates table and the other measure get from the 2nd table and do the comparison
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy Hello friend, thanks for the answer, but what I need is just the percentage of growth dividing one period by the other, I just can't define a formula that does that
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |