Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 |
---|---|
21 | |
19 | |
12 | |
10 | |
9 |
User | Count |
---|---|
30 | |
26 | |
15 | |
13 | |
10 |