Forum Discussion
Relative Cumulative variance
- 9 years ago
Ok, soI've solved the problem, by dealing with the infinity calculation at the beginning, by using:
Increase From Previous Fiscal Year ii = DIVIDE( ([Internet Sales YTD] - [Internet Sales PYTD] ), [Internet Sales PYTD],0)
BUT: the graph shows 0% for the first year of trading for which there was no previous year.
Is there a way of the third argument returning something other than 0?
Increase From Previous Fiscal Year ii = DIVIDE( ([Internet Sales YTD] - [Internet Sales PYTD] ), [Internet Sales PYTD],"") would work,but I can't then format the measure as a percentage, since it contains text.
Any ideas?
Rumbles
- 9 years ago
Hi Rumbles,
1. You don't need to use "" if you want to display blank() on the picture. If don't add any argument on the DIVIDE function, the default value is BLANK().
2. Personnal, I think 1 is the apporpriate like the followinf formula. There is no previous year, so the increase should be by the current year self. It will return on the graph.Increase From Previous Fiscal Year ii = DIVIDE( ([Internet Sales YTD] - [Internet Sales PYTD] ), [Internet Sales PYTD],1)
Please let me know if you have any question.
Best Regards,
Aneglia
When you say it doesn't work, what kind of error are you getting?
- Rumbles9 years agoFrequent Visitor
I've got slightly further now.
Of course, it should be (YTD - PYTD) /PYTD to get the increase from PYTD.
But, on the visual the lines are missing, but when I hover over, I get the information. See attached
- Rumbles9 years agoFrequent Visitor
Ok, soI've solved the problem, by dealing with the infinity calculation at the beginning, by using:
Increase From Previous Fiscal Year ii = DIVIDE( ([Internet Sales YTD] - [Internet Sales PYTD] ), [Internet Sales PYTD],0)
BUT: the graph shows 0% for the first year of trading for which there was no previous year.
Is there a way of the third argument returning something other than 0?
Increase From Previous Fiscal Year ii = DIVIDE( ([Internet Sales YTD] - [Internet Sales PYTD] ), [Internet Sales PYTD],"") would work,but I can't then format the measure as a percentage, since it contains text.
Any ideas?
Rumbles
- v-huizhn-msft9 years agoMicrosoft Employee
Hi Rumbles,
1. You don't need to use "" if you want to display blank() on the picture. If don't add any argument on the DIVIDE function, the default value is BLANK().
2. Personnal, I think 1 is the apporpriate like the followinf formula. There is no previous year, so the increase should be by the current year self. It will return on the graph.Increase From Previous Fiscal Year ii = DIVIDE( ([Internet Sales YTD] - [Internet Sales PYTD] ), [Internet Sales PYTD],1)
Please let me know if you have any question.
Best Regards,
Aneglia