Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Currently, I have data (January 2020 through February 2021) and when I write this formula:
Solved! Go to Solution.
I still think the solution can be streamlined, but found a workaround here:
Solved: SAMEPERIODLASTYEAR() - Microsoft Power BI Community
Thank you @BA_Pete
@Anonymous The problem could be because you are using dates from a fact table, please create a proper date table in your model. For time intelligence calculations there model should always have a proper dates table.
I still think the solution can be streamlined, but found a workaround here:
Solved: SAMEPERIODLASTYEAR() - Microsoft Power BI Community
Thank you @BA_Pete
@AntrikshSharma I did create the table and that still did not work. I mention the date table as a calendar table.
"I have also tried using a calendar table due to the contiguous issue and and I still get the same result-the December 2020 count."
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 |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |