Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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."
User | Count |
---|---|
41 | |
27 | |
23 | |
19 | |
16 |
User | Count |
---|---|
55 | |
35 | |
21 | |
18 | |
15 |