The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All
I have below YTD expression working fine :-
My PBI file :-
Paul
@admin11 , Please check the file attached after signature
Expense_LYTD_ =
var _max = date(year(today())-1,month(today()),day(today()))
return
CALCULATE(TOTALYTD(GL[AMOUNT],'Date'[Date], GL[1_EXP] = "EXP"),'Date'[Date]<=_max)
Your expression working fine.
But when i click on month jan till march , i cannot get the following :-
Jan return -376 m
Feb return -488 m
Mar return -501 m
it keep display -501m
Below link is my PBI file :-
Paul
User | Count |
---|---|
80 | |
73 | |
40 | |
30 | |
28 |
User | Count |
---|---|
107 | |
96 | |
55 | |
47 | |
47 |