Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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."
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
43 | |
39 | |
33 | |
18 | |
17 |