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

Chart with variation between days

Hi!

I have a chart with values per day and asset code. And I'd like to have the variation from one day to the other for each asset code.

how can I do it?

1 Solution

Accepted Solutions
sunny_talwar

Then try this:

Aggr(Sum({$<[ANO DO PREGAO] = {'2016'},[MES PREGAO]={'09'}>}(VALUE)/100)-Above(Sum({$<[ANO DO PREGAO] = {'2016'},[MES PREGAO]={'09'}>}(VALUE)/100)), ASSET_CODE, DAY)

View solution in original post

4 Replies
sunny_talwar

Is this the goal?

Capture.PNG

Expression:

Aggr(Sum(VALUE)-Above(Sum(VALUE)), ASSET_CODE, DAY)

silvia_assuncao
Creator
Creator
Author

My origninal expression has some setanalysis, how can do as you did above in this case?

(SUM({$<[ANO DO PREGAO] = {'2016'},[MES PREGAO]={'09'}>}(VALUE)/100))

sunny_talwar

Then try this:

Aggr(Sum({$<[ANO DO PREGAO] = {'2016'},[MES PREGAO]={'09'}>}(VALUE)/100)-Above(Sum({$<[ANO DO PREGAO] = {'2016'},[MES PREGAO]={'09'}>}(VALUE)/100)), ASSET_CODE, DAY)

silvia_assuncao
Creator
Creator
Author

worked!

thanks