Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi All,
I have below expression working fine , it can return YTD revenue amount correctly :-
_YTD_REV = CALCULATE(CALCULATE(GL[AMOUNT],DATESYTD('Date'[Date],"12/31")), GL[1_REV] = "REV")
I like to change the above expression to QTD base on above YTD expression :-
_QTD_REV = CALCULATE(CALCULATE(GL[AMOUNT],DATESQTD('Date'[Date],-1,QUARTER)), GL[1_REV] = "REV")
I get error msg below :-
Hope some one can share with where go wrong ?
Payl Yeo
Solved! Go to Solution.
@admin11 , try like
_QTD_REV = CALCULATE(GL[AMOUNT],DATESQTD(dateadd('Date'[Date],-1,QUARTER)), GL[1_REV] = "REV")
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.