Forum Discussion
Trend Visualization compared to previous week
- 8 years ago
The myMax variable is essentially grabbing the current weeknum in the context of your visual. So, myMax - 1 essentially dials this back a week. So, if your current week is 16, when you are filtering for last week you want the rows where WeekNum is 15.
The myMax variable is essentially grabbing the current weeknum in the context of your visual. So, myMax - 1 essentially dials this back a week. So, if your current week is 16, when you are filtering for last week you want the rows where WeekNum is 15.
Thanks! I somehow managed to get the data right.
THX!
- Anonymous7 years agoNot applicable
Hi Timon,
Could you please share the way you do this visual? I'm new to Power BI and what I'm trying to do is to put two numbers in comparison on one single card and show the variance aside, which is just what you did.
Thank you!
Lexi
- Anonymous7 years agoNot applicable
Don't worry.
I just realised how to work it out by myself.