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.
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
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |