Forum Discussion
Anonymous
6 years agoNot applicable
% Variation Over Years - DAX synthax issues
Hi the community, I'm making progress with PBI, specially in YOY analysis, but i'm still stuck with beginner issues... So here is my problem : I was looking to calculate variation quan...
- 6 years ago
Pretty sure you want:
% Variation CY LY = VAR _currentyear = SUM('Scrap Projection'[Order Quantity]) VAR _LastYear = [Quantity LY] RETURN (_currentyear - _LastYear) / _currentyear
Greg_Deckler
Community Champion
6 years agoPretty sure you want:
% Variation CY LY =
VAR _currentyear = SUM('Scrap Projection'[Order Quantity])
VAR _LastYear = [Quantity LY]
RETURN
(_currentyear - _LastYear) / _currentyearAnonymous
6 years agoNot applicable
thank you so much Greg for your help 🙂
Wish you the best !