Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Good Afternoon,
I am making a duplicate copy version of a certain dashboard in PB Onpremises (Remote Server). It was originally made in the previous PB Desktop version.
My use of DATESYTD in a measure in the previous PB Desktop version gave no problems, but in the new version the measure(s) using DATESYTD does not give the required Running Total result:
Solved! Go to Solution.
Hi @F_Reh
Your DAX is almost correct - the issue is not the function itself, it’s how the year-end parameter is being interpreted in newer versions of Microsoft Power BI.
Change it to:
Attendances FYTD =
CALCULATE(
Daily_Attendances[Total_Attendances],
DATESYTD(DatesTable[Date], "03/31")
)
If it still misbehaves, then your issue is one of these (common in Report Server setups):
Your DatesTable is not marked as a Date Table
Relationship between DatesTable[Date] and fact table is broken/inactive
Daily_Attendances[Total_Attendances] is not a proper measure (should be SUM-based)
Hi @F_Reh
Your DAX is almost correct - the issue is not the function itself, it’s how the year-end parameter is being interpreted in newer versions of Microsoft Power BI.
Change it to:
Attendances FYTD =
CALCULATE(
Daily_Attendances[Total_Attendances],
DATESYTD(DatesTable[Date], "03/31")
)
If it still misbehaves, then your issue is one of these (common in Report Server setups):
Your DatesTable is not marked as a Date Table
Relationship between DatesTable[Date] and fact table is broken/inactive
Daily_Attendances[Total_Attendances] is not a proper measure (should be SUM-based)
Hi @F_Reh
Thank you for reaching out to the Microsoft Fabric Forum Community.
@Natarajan_M Thanks for the inputs.
I hope the information provided by user was helpful. If you still have questions, please don't hesitate to reach out to the community.
Hi @F_Reh
Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.
Hi @F_Reh , In the solution I shared, I created the measure, but the screenshot appears to show values derived from a calculated column.
Thanks
It is indeed a calculated column with Running Totals....It worked fine in the old Power BI Desktop version...The exact application of DATEYTD is inexplicably failing in the onpremises remote server version !
Unfortunately the Running Total is still not being calculated in spite of making the suggested change....The Onsite (Remote Server) version is 2.150.1926.0 64-bit (January 2026)
The Onsite (Remote Server) Version top rows looks like this (Descending). I have modified the measure to use "3/31":
Kind Regards
Hi @F_Reh , Could you share which version exactly ? also can you try whether the small change in the format is helping you to fix the error:
instead of this
Attendances FYTD = CALCULATE(Daily_Attendances[Total_Attendances],DATESYTD(DatesTable[Date],"31/3"))
use
Attendances FYTD = CALCULATE(Daily_Attendances[Total_Attendances],DATESYTD(DatesTable[Date],"3/31"))
I recreated the scenario with some sample data both the measures are working for me .
Data model :
Sample data :
Op:
File :
Rag status.pbix
Thanks
If you found this helpful, please consider giving it a kudo and marking it as the accepted solution — it goes a long way in helping others facing the same issue.
For more Power BI tips and discussions, let’s connect on LinkedIn:
https://www.linkedin.com/in/natarajan-manivasagan
Cheers!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |