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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi
I am building a new table called "Date Period" based on my date dimension table.
Below shown is the dax I used to create the new table and columns.
What am I doing wrong here. Can anyone help ?
My date dimension contains dates until 2024. is it because of that I am getting MTD date as different ?
How can I get the MTD based on the current month ?
I'm a bit confused as to what you're trying to do and what is stated in the original post.
Have you created a one row table and you don't know where it comes from? It's probably the last date in the dim_date table.
--
What is it you are trying to do? Can you post some sample data and the desired result please?
Hi @aswathyjoe .MTD returns the value in Date/time format. Can you try changing the data type of the column to be Date.
Thanks,
AnthonyJoseph
Hi Anthony, Thnaks for the reply.
I tried changing it. please see below. its still giveing a date in 2024
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |