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.
Unless you are using fiscal years you can simplify your code.
Written TY =
VAR DtSelected=SELECTEDVALUE(Dates[TRNDATE])
return
Calculate(
Sum('WO 3Years'[Written $ TY]),
'WO 3Years'[DATE]<=DtSelected,
YEAR('WO 3Years'[DATE])=YEAR(DtSelected)
)
This is not working
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |