Forum Discussion
Anonymous
6 years agoNot applicable
Week over Week % Change
I'm tracking how many emails we send out every week. I want to display the change WoW as a percentage. I have tried to use the measure from the post here: Week over Week Change. But it only return...
- Anonymous6 years ago
Hi,
I created a table with similar data and copied the measure from your post, it works fine.
If you specify how your data is different from the table I created maybe we can find the issue
**I did change the 'Return' part to:RETURNIF (lastWeekAmount=0,"N/A",DIVIDE ( SUM( 'Email data'[Emails sent] ) - lastWeekAmount, lastWeekAmount, 0 ))so that weeks that come after a week with no sales, return "N/A".
Anonymous
6 years agoNot applicable
Hi,
I created a table with similar data and copied the measure from your post, it works fine.
If you specify how your data is different from the table I created maybe we can find the issue
**I did change the 'Return' part to:
RETURN
IF (lastWeekAmount=0,"N/A",
DIVIDE ( SUM( 'Email data'[Emails sent] ) - lastWeekAmount, lastWeekAmount, 0 )
)
so that weeks that come after a week with no sales, return "N/A".