Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.