Forum Discussion
% change from previous time stamp
- 5 years ago
Anonymous the formulas work fine as is. The current problem is that the chart has an axis with individual dates so it presents very spikey. It calculates a big increase on the 1st of the month because the data in fact table is all as of the first of the month and then an equally large decrease on the 2nd.
Once Anonymous makes the adjustments to the visualizations I suggested they'll have a month to month representation and they'll be fine.
littlemojopuppy Anonymous
I have recreated the whole thing again and have not used a date table this time and let PBI create its own hierarchy. There is some progress but the information is still inaccurate. where there should be a negative % change, it is still showing as a positive change. There is something off in the formulas:
Also, these changes should be much higher. The previous month / date function needs to maybe change in some way?
The source file and new file are here for reference
https://1drv.ms/u/s!ApVe-eCmnWcTuF-u_w2dlNdjVKAe?e=gwAEG1
Thank you for helping guys!
- Anonymous5 years agoNot applicable
HI Anonymous,
I think this should works as expected, your formula is calculated on month level but the chart displays with quarter level. The big changes on quarter level do not mean it also obviously on month level.
I drill to month level and it correctly shows the negative values and graphics:
Regards,
Xiaoxin Sheng
- Anonymous5 years agoNot applicable
Hmm, so i get what you are saying. And i think this can probably work but why is the last data point always -1? - is there a way to fix this some how?
- littlemojopuppy5 years ago
Community Champion
Hi Anonymous . The last data point is always a -100% decline because there isn't a value for the last month
Modify the MTM Change measure like this
MTM Change = IF( ISBLANK([TOTAL]), BLANK(), [TOTAL]-[Value of Previous Month] )After doing that, you get this...
and the chart looks like this