Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am having issues with my PY totals. They work fine when I have a whole months worth of sales but as soon as I go to the current month the Prior Year sales disappear unless I have the date in the Table or I put a Date Slicer with todays date.
The Dax I am using is
hi, @RobynMoller23
SAMEPERIODLASTYEAR is Time-intelligence functions, so it depends on the date table with hierarchical structure.
you need to study further for it and You will understand after.
If you still have issue, please share some simulated sample data and the expected output.
Do mask sensitive data before uploading. and I can help you create the measure you want.
Best Regards,
Lin
User | Count |
---|---|
94 | |
78 | |
73 | |
64 | |
60 |
User | Count |
---|---|
106 | |
97 | |
76 | |
63 | |
61 |