API Reference
Cmdlet
New-OfficeExcelDashboard
Builds a worksheet dashboard from tabular data using OfficeIMO dashboard defaults.
Remarks
Builds a worksheet dashboard from tabular data using OfficeIMO dashboard defaults.
Examples
Create a dashboard table and chart.
PS>
$rows | New-OfficeExcelDashboard -Title 'Sales Dashboard' -TableName Sales -ChartPreset CompactComparison
Writes a table and chart into the current Excel DSL worksheet.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-OfficeExcelDashboard [-ChartColumn <Nullable`1>] [-ChartPreset <Comparison|Trend|Contribution|CompactComparison>] [-ChartRow <Nullable`1>] [-ChartTitle <String>] -InputObject <Object> [-NoAutoFilter] [-NoAutoFit] [-NoChart] [-PassThru] [-Subtitle <String>] [-TableColumn <Int32>] [-TableName <String>] [-TableRow <Int32>] [-TableStyle <String>] [-Title <String>] [<CommonParameters>]#Parameter set:
ContextParameters
- ChartColumn Nullable`1
- Top-left chart column.
- ChartPreset ExcelDashboardChartPreset
- Dashboard chart preset.
- Possible values:
Comparison,Trend,Contribution,CompactComparison - ChartRow Nullable`1
- Top-left chart row.
- ChartTitle String
- Chart title. Defaults to Title when omitted.
- InputObject Object
- Rows to render in the dashboard table.
- NoAutoFilter SwitchParameter
- Disable AutoFilter dropdowns on the generated table.
- NoAutoFit SwitchParameter
- Disable auto-fit for generated table columns.
- NoChart SwitchParameter
- Do not create a chart.
- PassThru SwitchParameter
- Emit dashboard build metadata.
- Subtitle String
- Dashboard subtitle.
- TableColumn Int32
- Top-left column for the generated table.
- TableName String
- Name for the generated table.
- TableRow Int32
- Top-left row for the generated table.
- TableStyle String
- Built-in table style.
- Title String
- Dashboard title.
Outputs
System.Management.Automation.PSObject
New-OfficeExcelDashboard [-ChartColumn <Nullable`1>] [-ChartPreset <Comparison|Trend|Contribution|CompactComparison>] [-ChartRow <Nullable`1>] [-ChartTitle <String>] -InputObject <Object> -InputPath <String> [-NoAutoFilter] [-NoAutoFit] [-NoChart] [-PassThru] [-Sheet <String>] [-SheetIndex <Nullable`1>] [-Subtitle <String>] [-TableColumn <Int32>] [-TableName <String>] [-TableRow <Int32>] [-TableStyle <String>] [-Title <String>] [<CommonParameters>]#Parameter set:
PathParameters
- ChartColumn Nullable`1
- Top-left chart column.
- ChartPreset ExcelDashboardChartPreset
- Dashboard chart preset.
- Possible values:
Comparison,Trend,Contribution,CompactComparison - ChartRow Nullable`1
- Top-left chart row.
- ChartTitle String
- Chart title. Defaults to Title when omitted.
- InputObject Object
- Rows to render in the dashboard table.
- InputPath String
- Workbook path to update.
- NoAutoFilter SwitchParameter
- Disable AutoFilter dropdowns on the generated table.
- NoAutoFit SwitchParameter
- Disable auto-fit for generated table columns.
- NoChart SwitchParameter
- Do not create a chart.
- PassThru SwitchParameter
- Emit dashboard build metadata.
- Sheet String
- Worksheet name when using Path or Document.
- SheetIndex Nullable`1
- Worksheet index (0-based) when using Path or Document.
- Subtitle String
- Dashboard subtitle.
- TableColumn Int32
- Top-left column for the generated table.
- TableName String
- Name for the generated table.
- TableRow Int32
- Top-left row for the generated table.
- TableStyle String
- Built-in table style.
- Title String
- Dashboard title.
Outputs
System.Management.Automation.PSObject
New-OfficeExcelDashboard [-ChartColumn <Nullable`1>] [-ChartPreset <Comparison|Trend|Contribution|CompactComparison>] [-ChartRow <Nullable`1>] [-ChartTitle <String>] -Document <ExcelDocument> -InputObject <Object> [-NoAutoFilter] [-NoAutoFit] [-NoChart] [-PassThru] [-Sheet <String>] [-SheetIndex <Nullable`1>] [-Subtitle <String>] [-TableColumn <Int32>] [-TableName <String>] [-TableRow <Int32>] [-TableStyle <String>] [-Title <String>] [<CommonParameters>]#Parameter set:
DocumentParameters
- ChartColumn Nullable`1
- Top-left chart column.
- ChartPreset ExcelDashboardChartPreset
- Dashboard chart preset.
- Possible values:
Comparison,Trend,Contribution,CompactComparison - ChartRow Nullable`1
- Top-left chart row.
- ChartTitle String
- Chart title. Defaults to Title when omitted.
- Document ExcelDocument
- Workbook to update outside the DSL context.
- InputObject Object
- Rows to render in the dashboard table.
- NoAutoFilter SwitchParameter
- Disable AutoFilter dropdowns on the generated table.
- NoAutoFit SwitchParameter
- Disable auto-fit for generated table columns.
- NoChart SwitchParameter
- Do not create a chart.
- PassThru SwitchParameter
- Emit dashboard build metadata.
- Sheet String
- Worksheet name when using Path or Document.
- SheetIndex Nullable`1
- Worksheet index (0-based) when using Path or Document.
- Subtitle String
- Dashboard subtitle.
- TableColumn Int32
- Top-left column for the generated table.
- TableName String
- Name for the generated table.
- TableRow Int32
- Top-left row for the generated table.
- TableStyle String
- Built-in table style.
- Title String
- Dashboard title.
Outputs
System.Management.Automation.PSObject