Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I am trying to create a data slicer with various period filters such as MTD, QTD, YTD ...
I have already created a specific table that gives me 12 rows with each row being the first of each month from January till December of 2024.
However, when i use each periodic function, it's giving me the wrong result as if the end date is December 2024...
For example, this is the DAX function for each period :
Hello Jayleny,
Thank you for your reply and sorry for my late response.
Here are my responses :
As for what i want :
Please find the PBIx file with just the dates as well as the new table i tried to create.
Thank you in advance for your help,
Elie AZAR
Hi @Elieazar
The first thing to check is whether your date table ('Période Comptable') is properly set up:
Continuous Dates: Your date table should ideally have a row for every single day in the year, not just the first of each month. Date intelligence functions expect a full range of dates to calculate periods correctly.
Mark as Date Table: In Power BI, ensure that your date table is marked as a date table. You can do this by going to the "Modeling" tab and selecting "Mark as Date Table", then choose the column that has the date.
If the above suggestions don't help you solve the problem, please provide detailed sample pbix file and the results you expect.So that I can help you better. Please remove any sensitive data in advance.
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |