Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ramyasaiqv
Creator II
Creator II

Derive Target line based on Actual Data

Hello Community,

I need to derive “Target” line based on the actual data. The data is displayed in quarters and the first quarter value is  considered as the base value for Target from there on for each quarter there should be 2.5% decrease(in a year 10% decrease).

For example if the Q1 Actual data is 10159 then the start for “Target” is 10159 for Q2 the Target should be 9897, Q3-9638, and Q4-9377

I hope the requirement is clear and makes sense. Thank you,

Ramya

1 Solution

Accepted Solutions
sunny_talwar

Try this

If(RowNo() = 1, sum([Actual Data]), Sum(TOTAL Aggr(If(Quarter = MinString(TOTAL Quarter), sum([Actual Data])), Quarter)) * (1 - ((RowNo()-1) * 0.025)))

View solution in original post

2 Replies
sunny_talwar

Try this

If(RowNo() = 1, sum([Actual Data]), Sum(TOTAL Aggr(If(Quarter = MinString(TOTAL Quarter), sum([Actual Data])), Quarter)) * (1 - ((RowNo()-1) * 0.025)))

ramyasaiqv
Creator II
Creator II
Author

Thank you very much Sunny. I really appreciate it.

Ramya