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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hi,
i'm tring to work with TOTALYTD but it occurs an error on date parameter.
My date format is like the picture this
but it needs the following [date] format
I cant change anything because my table came from an existing dataset.
Can I convert the date format with DAX command in order it works correctly?
Solved! Go to Solution.
could you please provide the sample data and expected output?
Proud to be a Super User!
do you have a datetime table?
https://docs.microsoft.com/en-us/dax/totalytd-function-dax
maybe you can try
measure =
VAR _maxdate=max(Sales[date])
return sumx(FILTER(all(sales),Sales[date]=year(_maxdate)),Sales[Sales])
Proud to be a Super User!
thanx but please help me with teh following code
The mistake is at red text
maybe you can try to create a datetime table and change the red part to datetime date key
Proud to be a Super User!
I can't create tables because i have created a report starting form existing dataset
could you please provide the sample data and expected output?
Proud to be a Super User!
Check out the May 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 |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 43 | |
| 26 | |
| 24 |