Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I have columns with Fiscal years, and Periods with Amounts for specific accounts. I want to be able to total up the latest Fiscal year and period for specific accounts. What would be the appropriate DAX code that could change month over month (period over period) or fiscal year over fiscal year?
Hi @Anonymous ,
You seem to want:
If so, please refer to this blog. Sample pbix files can be downloaded below the blog.
For specific accounts, you can put them into a slicer to filter them.
Month-related calculations – DAX Patterns
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.