Forum Discussion
Are you able to share the formula you are using?
- Mustafa_A3 years agoContributor II
This is the dynamic formula I'm using:
Try
Dim R6SUMRentalRevenue As Decimal = api.Data.GetDataCell("A#NetIncome:U4#[RentalRevenue]:V#Trailing6MonthTotal").CellAmount
Dim R6AvgFleetTotal As Decimal api.Data.GetDataCell("A#Average_Fleet_Total:V#Trailing6MonthAvg").CellAmount
Return (R6SUMRentalRevenue / R6AvgFleetTotal ) *2
Catch ex As Exception
Return Nothing
End Try- db_pdx3 years agoValued Contributor
You shouldn't be returning a decimal; you need to return a DataCell.
Return api.Data.GetDataCell("Divide(A#NetIncome:U4#[RentalRevenue]:V#Trailing6MonthTotal, A#Average_Fleet_Total:V#Trailing6MonthAvg)*2")
I'd recommend you review the GetDataCell section of the Member Filters training from the Academy courses: https://onestream.litmos.com/course/1004851
Cheers,
-DB
Related Content
- 5 months ago
- 2 years ago
- 7 months ago