Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
I have 3 columns of data: Fundname, date and value. The user can select the initial and final dates of the graph which are stored in the variables InitialDate and FinalDate. I would like to show the value of each fund so that in the InitialDate its value was 100, but I am unable to do that. By the moment I have this in the expression:
value*100*if(date>=InitialDate,1,0)*if(date<=Finaldate,1,0)/( {<date={'$(InitialDate)'}>}value)
And as dimensions of the line chart Date and Fundname.
Anyone could help?
Thanks a lot!
May be something like this:
value*100*if(date>=InitialDate,1,0)*if(date<=Finaldate,1,0)/( {<date={'$(InitialDate)'}>}value)
/
FirstSortedValue(TOTAL <Fundname> Aggr(value*100*if(date>=InitialDate,1,0)*if(date<=Finaldate,1,0)/( {<date={'$(InitialDate)'}>}value), Date,Fundname), Aggr(Date, Date,Fundname))
I would try something like:
Sum({<date={">=$(=InitialDate) <=$(=FinalDate)"}>} value) /
Sum({<date={'$(InitialDate)'}>} total value)
Hi Sunny, it does not show any graph, any idea?
Would you be able to share a sample to test it out?
Preparing examples for Upload - Reduction and Data Scrambling
Did you try my suggestion above?
Yes, it didn't work, I approached the solution by creating a temporary 8-column table, that for my purpose works, as no more series will be inserted, but it is not the correct solution.