Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
anant
Frequent Visitor

How to pass parameter in Datasets - Update Parameters from C#

Hi,

i am embed the powerbi repoert in C# web application and working fine.

now i want to send some parameters like seesion id etc in Default.UpdateParameters.

how to configure and send the parameters from C#.

 

and when i need to call this api (Datasets - Update Parameters - REST API (Power BI Power BI REST APIs))

after getting the token or call after javascript code like 

const config = {
type: 'report',
/* tokenType: models.TokenType.Embed,*/
tokenType: 1,
accessToken: accessToken,
embedUrl: embedUrl,
id: embedReportId,
/* permissions: models.Permissions.All,*/
permissions: 7,

settings: {
// Enable this setting to remove gray shoulders from embedded report
// background: models.BackgroundType.Transparent,
filterPaneEnabled: false,
navContentPaneEnabled: false,
}
};

 

please provide some solution.

0 REPLIES 0

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors