# Add-OfficeExcelReportKpiRow

Adds a KPI row to the current Excel report sheet. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: ExcelReportKpiRow

**Module**

`PSWriteOffice`

**Aliases**

`ExcelReportKpiRow`

**Inputs**

`None`

**Source**

[OfficeExcelReportBlockCommands.cs:178](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Excel/OfficeExcelReportBlockCommands.cs#L178) 

Adds a KPI row to the current Excel report sheet.

## Syntax

```
Add-OfficeExcelReportKpiRow
[-InputObject] <Object>
[-LabelFillColor <String>]
[-PassThru]
[-PerRow <Int32>]
[<CommonParameters>]
```

[#](#method-add-officeexcelreportkpirow-object-string-switchparameter-int32)

Parameter set: `All Parameter Sets`

## Examples

### Add three KPI values to a summary sheet.

```powershell
New-OfficeExcel -Path .\Operations.xlsx {
    Add-OfficeExcelReportSheet -Name Summary {
        Add-OfficeExcelReportKpiRow -InputObject @{ Revenue = 125000; Incidents = 3; Status = 'Ready' } -PerRow 3
    }
}
```

Renders PowerShell key/value data as a KPI row through the OfficeIMO sheet composer.

## Parameters

**-InputObject Object requiredposition: 0aliases: Data**

Hashtable or objects with Label/Value, Key/Value, Name/Value, or Title/Value properties.

**-LabelFillColor String optional**

Optional fill color for KPI labels.

**-PassThru SwitchParameter optional**

Emit the object created or changed by the command.

**-PerRow Int32 optional**

Number of KPI cards per rendered row.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:672B361B384BFC84C637D49CE18EF81A1A3D0F42596608353555367AFDFA6B40 -->
