Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone
I have data in the format :
Account | Department | Vendor | Date | Actual |
Acc1 | Dept1 | Vend1 | Jan-2019 | 1200 |
Acc1 | Dept2 | Vend1 | Jan-2019 | 1748 |
Acc2 | Dep2 | Vend2 | Feb-2019 | 122 |
... | ... | ... | ... | ... |
I would like to get a graph with the below measures and Date [MMM-YY] as the dimension
Any suggestions for the second formula?
hi
you'll need to load the months into your date field and then it's wont be that complicated
you'll expression will look like this :
if(Sum(Actual)=0,
(sum(total Actual)+sum({<Date={"$(=max(Date))"}>}Actual)*(12-num(month(max(Date)))))/12,Sum(Actual))
Thank you for the reply!
I did try TOTAL and Set analysis to fetch the latest date. There are two issues with that:
- Since the chart is dimensioned by Month-YY the set analysis for the current month cant be extended to all future months
- The total doesnt work when i make selections in any dimensions