Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
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
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
76 | |
75 | |
70 | |
47 | |
41 |
User | Count |
---|---|
64 | |
41 | |
31 | |
30 | |
28 |