Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
I can't get the WoW variation, can you please help me out?
I have an excel with:
Year: 2019-2022
Week: 1-52
KPIs: sales, profit revenue
Countries: yyyyy
First I need to create a table where I have Countries in the rows and I have to display the following:
I need to structure that in a way that changing the last week number as per function below , I change all others parameters.
LW = WEEKNUM(TODAY())-3
Thanks in advance,
Andrea
Solved! Go to Solution.
Hi @great_AS
You can try measures like below
LW Sales = CALCULATE(SUM('Table'[Sales]),'Table'[Week]=WEEKNUM(TODAY())-3)
Sales Variation = DIVIDE([LW Sales],CALCULATE(SUM('Table'[Sales]),'Table'[Week]=WEEKNUM(TODAY())-4))-1
For other KPIs, you can create similar measures.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
Hi @great_AS
You can try measures like below
LW Sales = CALCULATE(SUM('Table'[Sales]),'Table'[Week]=WEEKNUM(TODAY())-3)
Sales Variation = DIVIDE([LW Sales],CALCULATE(SUM('Table'[Sales]),'Table'[Week]=WEEKNUM(TODAY())-4))-1
For other KPIs, you can create similar measures.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
User | Count |
---|---|
141 | |
113 | |
104 | |
78 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |