Forum Discussion
WAllison
3 years agoNew Contributor
Cube - Use manual input as input to another column calculation
In a cube view, how can I use a manual input value in the formula in another column?
Col1 Col2 Col3
EndBal Input Value EndBal - InputValue
Many thanks in advance.
Winni
- 3 years ago
I suspect what you're after are the CVC and CVR functions. Have a look at the section "Calculated Columns and Rows with References to Columns and/or Rows" in the Design and Reference Guide, which includes examples like
GetDataCell(CVC(Col1) - CVC(Col2)):Name(Variance)
JackLacava
OneStream Employee
3 years agoI suspect what you're after are the CVC and CVR functions. Have a look at the section "Calculated Columns and Rows with References to Columns and/or Rows" in the Design and Reference Guide, which includes examples like
GetDataCell(CVC(Col1) - CVC(Col2)):Name(Variance)
- WAllison3 years agoNew Contributor
Thank you for the response but I am still unsuccessful - these are the details of the columns in case you might have any additional insight. Many thanks.
Manual adjustment column: F#RF_ADJ:V#VarianceExplanation:Name(Manual_Adj)
Column to subtract: F#RF_CLO:Name(RF_CloBal)
Formula in variance column: GetDataCell(CVC(Manual_Adj) - CVC(RF_CloBal)):Name(AdjRFClo)
- JackLacava3 years ago
OneStream Employee
I believe you have to reference in CVC the names of the actual columns (i.e. Col1, Col2...). Name() is an override for display purposes, it doesn't change how the rest of the system references the columns.
- WAllison3 years agoNew Contributor
It appears the true issue is the data in the input column isn't saving. The answer to my original question is this CVC / CVR function...now to figure out why the data isn't storing. Thank you for the help!
Related Content
- 8 months ago