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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I like to add SOURCE=TS into above expression , I try below :-
Solved! Go to Solution.
Hey @admin11 ,
is there a reason for the double Calculate?
Try the following measure:
_YTD REV TDS =
CALCULATE(
[AMOUNT],
DATESYTD( 'Date'[Date], "12/31" ),
GL[1_REV] = "REV",
FILTER( SALES, [SOURCE] = "TS" )
)
Hey @admin11 ,
is there a reason for the double Calculate?
Try the following measure:
_YTD REV TDS =
CALCULATE(
[AMOUNT],
DATESYTD( 'Date'[Date], "12/31" ),
GL[1_REV] = "REV",
FILTER( SALES, [SOURCE] = "TS" )
)
Hey @admin11 ,
I think I found the error.
The measure should look like that:
_YTD REV TDS =
CALCULATE(
[AMOUNT],
DATESYTD( 'Date'[Date], "12/31" ),
GL[1_REV] = "REV",
GL[SOURCE] = "TS"
)
But the problem is that the column GL[SOURCE] doesn't contain any values "TS". For that reason the measure is always empty.
Please let me if you need further assistance.