02-07-2022 12:18 PM - last edited on 05-24-2023 12:15 PM by JackLacava
Hi All,
Do we have a function to get data from a row within CV? For e.g. GetDataCell(CVC(Rental Revenue) / CVC(Fleet Actual))
I tried using this method but keep getting a syntax error. Any suggestions in the right directions will be appreciated. Thanks!
Best,
Mustafa
Solved! Go to Solution.
02-07-2022 01:47 PM
Hi,
Just spotted you are using Column math in a Row.
You need: GetDataCell(Divide(CVR(Rental Revenue), CVR(Fleet Actual)))
Also, consider creating a member and writing a Dynamic calculation if this is a frequently used KPI.
Lee
02-07-2022 12:55 PM
Hi Mustafa,
Try:
GetDataCell(Divide(CVC(Col3), CVC(Col2))):Name(Ratio)
Lee
02-07-2022 01:36 PM
Hi @LeeB
I'm getting this error. Tried playing around with brackets and comma, but the error message still appears.
02-07-2022 01:47 PM
Hi,
Just spotted you are using Column math in a Row.
You need: GetDataCell(Divide(CVR(Rental Revenue), CVR(Fleet Actual)))
Also, consider creating a member and writing a Dynamic calculation if this is a frequently used KPI.
Lee
02-07-2022 02:57 PM
Thank you!
It worked. However I agree with your idea of writing a dynamic calc. We plan to use in multiple reports.
Thank you!
11-13-2022 10:42 AM
Hi,
Can anyone help me please what i am doing wrong here. I want to use CVC where i want to divide Variancedollar by MTDBUDGET. Going by the above script its look like the syntax is correct but i am getting the Error.
Please help..Sandeep S
11-13-2022 11:04 AM
Hi
what i figured out is probably the problem was not in the syntax rather using a name "Variance" as a column name. the moment i changed the column name from VarianceDollar to COL4 ..it started working. Not sure why but..atleast its working but still interested to know the root reason.