This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I'm having issues with DATEVALUE pulling the correct year. It's pulling 2024 for all date years. This functioned correctly prior to the new year.
Examples below. Month & Year is a text column, pulling from a typical dimDate table where Month & Year = FORMAT(dimDate[Date], "MMM-YY")
I have alternatively used
Solved! Go to Solution.
@tkoopmann Have you tried using the below calculated column for Month & Year instead? I found that after changing "YY" to "YYYY" the years were pulled in correctly by the DATEVALUE function.
That works until I change the column to a date type. I'm needing "Date" in the Summarize function to be a date type to tie back to the dimDate table.
*uness there is a more efficient way to average monthly % charged for the year. I could probably use a measure instead of this table altogether.
@tkoopmann Have you tried using the below calculated column for Month & Year instead? I found that after changing "YY" to "YYYY" the years were pulled in correctly by the DATEVALUE function.
That works until I change the column to a date type. I'm needing "Date" in the Summarize function to be a date type to tie back to the dimDate table.
*uness there is a more efficient way to average monthly % charged for the year. I could probably use a measure instead of this table altogether.
How is that not working for you? I played around with some sample data and was able to make it work.
I may have changed the wrong Month & Year column.
Adjusting the dimDate Month & Year column to FORMAT ( 'dimDate'[Date], "MMM-YYYY" ) did correct the issue in the summarize table.
Thank you!
Excellent. You're welcome!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 33 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 48 | |
| 33 | |
| 24 | |
| 24 |