Open cramtorte opened 5 years ago
@guyinacube I'm looking for this as well
@guyinacube I'm looking for this as well
@joebaratto22 - here is a snippet, hope it helps:
$updateDetails = @{
updateDetails = @(
@{
name = 'Parameter1_Name'
newValue = 'YOURPARAMVALUE'
},
@{
name = 'Parameter2_Name'
newValue = 'YOURPARAMVALUE'
}
)
}
"== Updating Report OBDC Parameter"
$udpateParamUri = "https://api.powerbi.com/v1.0/myorg/groups/$destGroupID/datasets/$dSetToUpdate/Default.UpdateParameters"
$body = $updateDetails | ConvertTo-Json
Invoke-RestMethod -Uri $udpateParamUri -Headers $auth_header -Body $body -Method POST -Verbose
@cramtorte Thank you!
@guyinacube I'm looking for this as well
@joebaratto22 - here is a snippet, hope it helps:
$updateDetails = @{ updateDetails = @( @{ name = 'Parameter1_Name' newValue = 'YOURPARAMVALUE' }, @{ name = 'Parameter2_Name' newValue = 'YOURPARAMVALUE' } ) } "== Updating Report OBDC Parameter" $udpateParamUri = "https://api.powerbi.com/v1.0/myorg/groups/$destGroupID/datasets/$dSetToUpdate/Default.UpdateParameters" $body = $updateDetails | ConvertTo-Json Invoke-RestMethod -Uri $udpateParamUri -Headers $auth_header -Body $body -Method POST -Verbose
' Hi, where can i find the full code? Kind regards,
Can
@guyinacube Not an issue per se but can you post the updateparameters script from your vid?