Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 192 | |
| 125 | |
| 99 | |
| 67 | |
| 48 |