Add-PowerBIRow
Adds rows to the specified table in a Power BI dataset.
Sintaxe
Dataset (Predefinição)
Add-PowerBIRow
-Dataset <Dataset>
-TableName <String>
-Rows <System.Collections.Generic.List`1[System.Management.Automation.PSObject]>
[-WorkspaceId <Guid>]
[-Workspace <Workspace>]
[<CommonParameters>]
DatasetId
Add-PowerBIRow
-DatasetId <Guid>
-TableName <String>
-Rows <System.Collections.Generic.List`1[System.Management.Automation.PSObject]>
[-WorkspaceId <Guid>]
[-Workspace <Workspace>]
[<CommonParameters>]
Description
Inserts rows into a Power BI table contained within a dataset.
Exemplos
Example 1
PS C:\>Add-PowerBIRow -DataSetId 4b644350-f745-48dd-821c-f008350199a8 -TableName Table1 -Rows @{"Column1"="Value1";"Column2"="Value2"},@{"Column1"="Value1";"Column2"="Value2"}
This example inserts two rows to Table1.
Example 2
PS C:\>Add-PowerBIRow -DataSetId 4b644350-f745-48dd-821c-f008350199a8 -TableName Table1 -Rows (Import-Csv -Path ".\data.csv")
This example inserts rows from CSV to Table1.
Parâmetros
-Dataset
A dataset containing the table where rows are to be stored.
Propriedades dos parâmetros
Tipo: | Dataset |
Default value: | None |
Suporta carateres universais: | False |
NãoMostrar: | False |
Conjuntos de parâmetros
Dataset
Position: | Named |
Obrigatório: | True |
Valor do pipeline: | True |
Valor do pipeline por nome de propriedade: | False |
Valor dos restantes argumentos: | False |
-DatasetId
ID of the dataset containing the table where rows are to be stored.
Propriedades dos parâmetros
Tipo: | Guid |
Default value: | None |
Suporta carateres universais: | False |
NãoMostrar: | False |
Conjuntos de parâmetros
DatasetId
Position: | Named |
Obrigatório: | True |
Valor do pipeline: | False |
Valor do pipeline por nome de propriedade: | False |
Valor dos restantes argumentos: | False |
-Rows
An array of rows to be stored in the table.
Propriedades dos parâmetros
Tipo: | System.Collections.Generic.List`1[System.Management.Automation.PSObject] |
Default value: | None |
Suporta carateres universais: | False |
NãoMostrar: | False |
Conjuntos de parâmetros
(All)
Position: | Named |
Obrigatório: | True |
Valor do pipeline: | False |
Valor do pipeline por nome de propriedade: | False |
Valor dos restantes argumentos: | False |
-TableName
Name of the table.
Propriedades dos parâmetros
Tipo: | String |
Default value: | None |
Suporta carateres universais: | False |
NãoMostrar: | False |
Conjuntos de parâmetros
(All)
Position: | Named |
Obrigatório: | True |
Valor do pipeline: | False |
Valor do pipeline por nome de propriedade: | False |
Valor dos restantes argumentos: | False |
-Workspace
Workspace containing the dataset and table for row insertion.
Propriedades dos parâmetros
Tipo: | Workspace |
Default value: | None |
Suporta carateres universais: | False |
NãoMostrar: | False |
Aliases: | Group |
Conjuntos de parâmetros
(All)
Position: | Named |
Obrigatório: | False |
Valor do pipeline: | True |
Valor do pipeline por nome de propriedade: | False |
Valor dos restantes argumentos: | False |
-WorkspaceId
ID of the workspace containing the dataset and table for row insertion.
Propriedades dos parâmetros
Tipo: | Guid |
Default value: | None |
Suporta carateres universais: | False |
NãoMostrar: | False |
Aliases: | GroupId |
Conjuntos de parâmetros
(All)
Position: | Named |
Obrigatório: | False |
Valor do pipeline: | False |
Valor do pipeline por nome de propriedade: | False |
Valor dos restantes argumentos: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.