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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Create a user input form

Hello,

 

Can anybody assist me how to create a user input form in report. Once user fills the form and clicks submit it has to call API 1 which generates token and by using that token it has to authorize the 2nd API and send the data to the database.

 

Thanks,

Sudheer

1 ACCEPTED SOLUTION
v-sdhruv
Community Support
Community Support

Hi @Anonymous ,

You can use Power Apps-

Power BI + Power Apps Integration (Recommended for Microsoft Stack)

1.Create a Power Apps form:

Go to Power Apps and build a canvas app form with the fields you need.

On the submit button:

Call API 1 to generate the token.

Use that token to call API 2 with the user input.

Power Apps Logic (Pseudo-code):

1. Call API 1
Set(tokenResponse, PowerAutomateFlow.Run(inputFields...));
Set(token, tokenResponse.token);

 2. Call API 2 with token
Set(api2Response,
CustomConnector.CallAPIWithToken(token, inputData));

You might need to use Power Automate (Flow) to handle the API token generation and secure API logic.

Hope this helps!

View solution in original post

2 REPLIES 2
v-sdhruv
Community Support
Community Support

Hi @Anonymous ,

You can use Power Apps-

Power BI + Power Apps Integration (Recommended for Microsoft Stack)

1.Create a Power Apps form:

Go to Power Apps and build a canvas app form with the fields you need.

On the submit button:

Call API 1 to generate the token.

Use that token to call API 2 with the user input.

Power Apps Logic (Pseudo-code):

1. Call API 1
Set(tokenResponse, PowerAutomateFlow.Run(inputFields...));
Set(token, tokenResponse.token);

 2. Call API 2 with token
Set(api2Response,
CustomConnector.CallAPIWithToken(token, inputData));

You might need to use Power Automate (Flow) to handle the API token generation and secure API logic.

Hope this helps!

Anonymous
Not applicable

Thank you @v-sdhruv 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.