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
Hi,
To try and minimize the amount of data from my database import to Power Bi, i have summarized my sales data to week numbers and years (this is how we analyse reports anyways and not by days).
What i cannot figure out now, is how to be able to use the SAMEPERIODLASTYEAR when i only have week numbers, months and years from my sales data.
Any suggestions?
Thanks
Peter
Solved! Go to Solution.
Hi,
You can generate Start of week or End of week date and use SAMEPERIODLASTYEAR with that date. Please note that you need to create Date table to be able to use SAMEPERIODLASTYEAR and other Time Intelligence functions.
Hi,
You can generate Start of week or End of week date and use SAMEPERIODLASTYEAR with that date. Please note that you need to create Date table to be able to use SAMEPERIODLASTYEAR and other Time Intelligence functions.
Yeah seems to be as easy as that, thanks for the help.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |