Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All
Below expression working fine :-
Solved! Go to Solution.
Hi @admin11
Sales LYTD TI V2 =
VAR _max =
DATE ( YEAR ( TODAY () ) - 1, MONTH ( TODAY () ), DAY ( TODAY () ) )
RETURN
CALCULATE (
TOTALYTD (
( 'SALES'[SALES_] ),
DATEADD ( 'Date'[Date], -1, YEAR ),
'Date'[Date] <= _max
),
Sales[SOURCE] = "TI"
)
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Hi @admin11
Sales LYTD TI V2 =
VAR _max =
DATE ( YEAR ( TODAY () ) - 1, MONTH ( TODAY () ), DAY ( TODAY () ) )
RETURN
CALCULATE (
TOTALYTD (
( 'SALES'[SALES_] ),
DATEADD ( 'Date'[Date], -1, YEAR ),
'Date'[Date] <= _max
),
Sales[SOURCE] = "TI"
)
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |