Forum Discussion
Alexander24
Helper II
8 years agoQuery Parameters API
Hi I am using the new query parameters API https://msdn.microsoft.com/en-us/library/mt845781.aspx I am able to call parameters fine, however when trying to set them i get an error message. Af...
Alexander24
Helper II
8 years agoCan anybody from support point me in the right direction at least?
- Deepthi2858 years agoRegular Visitor
Hello team,
am new to power bi when i try to update parameter by using c# (Embeded)
UpdateDatasetParametersRequest updaetparamObj = new UpdateDatasetParametersRequest();
var jsonobj = "{\"updateDetails\": [{ \"name\": \"loggedTenantid\", \"newValue\": \"9\"}]}";
JavaScriptSerializer jsonSerializer = new JavaScriptSerializer();
updaetparamObj = jsonSerializer.Deserialize<UpdateDatasetParametersRequest>(jsonobj);
var updateParam = await client.Datasets.UpdateParametersInGroupAsync(WorkspaceId, report.DatasetId, updaetparamObj);
am facing below problem please do need full
Status: BadRequest (400) Response: {"error":{"code":"InvalidRequest","message":"Dataset parameter at position 1 is invalid in abcdefghigj. Reason: ActionNotSupported","target":"abcdefghigj
"}} RequestId:
abcdefghigj