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,
I am trying to create WoW sales amount change by sales rep by region using snapshot data.
As per attached sample, I wrote this week and last week measure to calculate WoW changes.
My issues is that once sales left the company they won't appear in latest snapshot - hence the their WoW become blank and at the end the total WoW amount doesn't match.
Is there any way to resolve this? Sorry it is a bit hard to explain in email. Please see the file and explaination here.
Thanks a lot for your help.
Irene
Solved! Go to Solution.
I will do some research on your issue.
Regards,
Jimmy Tao
Please modify the measure [Last week] using dax below:
Last Week =
VAR currWeek =
MAX ( Sampleextract[ExtractWeeknum] )
RETURN
CALCULATE (
SUM ( 'Sampleextract'[Amount] ),
FILTER (
ALLEXCEPT ( Sampleextract, Sampleextract[Owner] ),
Sampleextract[ExtractWeeknum] = currWeek - 1
&& Sampleextract[Region] IN VALUES ( Sampleextract[Region] )
)
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please modify the measure [Last week] using dax below:
Last Week =
VAR currWeek =
MAX ( Sampleextract[ExtractWeeknum] )
RETURN
CALCULATE (
SUM ( 'Sampleextract'[Amount] ),
FILTER (
ALLEXCEPT ( Sampleextract, Sampleextract[Owner] ),
Sampleextract[ExtractWeeknum] = currWeek - 1
&& Sampleextract[Region] IN VALUES ( Sampleextract[Region] )
)
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you Jimmy!!
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |