Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Power BI DAX Two Equals signs

Hi. The following Power BI DAX statememt is a little confusing.

Why are there 2 equals signs

TOTAL SALES 2019 = var currentyear = SELECTEDVALUE('CALENDAR'[Year],year(today())) return CALCULATE([TOTAL SALES],'CALENDAR'[Year]=currentyear-2) 

Open in new window

Avatar of Cédric Tielemans
Cédric Tielemans
Flag of Belgium image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial