Forum Discussion
DATESYTD problem in PB Onpremises (Remote Server)
- 4 months ago
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 , In the solution I shared, I created the measure, but the screenshot appears to show values derived from a calculated column.
Thanks
- F_Reh4 months agoPost Patron
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 !