XFL Simworld

Organization Report Table.
## Creating a Horizontal Table with Forio Macro Language ## Time is displayed in columns (the way most spreadsheets display time) #set ($TableVarList = ["revenue","annual_ticket_sales","parking_revenue","total_stadium_ad_revenue","tv_contract_draw_down_revenue","noi","expenses","insurance_costs","markerting_expense","tax_expenses", "total_player_salaries","travel_costs","payroll_expense"]) #set ($TimeRange = [0..$ModelInfo.EndStep]) ## Display the header row #foreach( $step in $TimeRange) #end ## Display each data row #foreach( $VariableName in $TableVarList) #foreach( $step in $TimeRange) #if($step <= $ModelInfo.SimStep) #else #end #end #end
TIME $ModelInfo.convertStepToTime($step)
$Values.get($VariableName).Label$Values.get($VariableName).getResultFormatted($step)