Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am working on a report where I need to pass a date field to sql query to pull data for the POwer BI report. Currently date is hard coded and I would like to change it to a variable which accepts values from a end user through a front end screen or form. Can I design a power app form with an option to capture the user entered date value ? and pass it to Power BI query to get the desired set of data. How to Integrate Power APPs to Power BI to accomplish thsi task. Please help
Hi @nvalPBI
Just checking, Were you able to try out any of the suggestions shared earlier? If your issue is resolved, marking the accepted solution would be a big help to others who might be facing the same scenario.
If you went in a different direction or still need support, feel free to drop a quick update, we’re happy to keep helping.
Regards,
Akhil.
Hi @nvalPBI
To pass a date from Power Apps → Power Automate → Power BI:
Here’s what your Power BI SQL query might look like.
WHERE OrderDate = (SELECT TOP 1 UserSelectedDate FROM UserInputTable ORDER BY ID DESC)
--------------------------------------------------------------------------------------------------------
If this response helps, consider marking it as “Accept as solution” and giving a “kudos” to assist other community members.
Regards,
Akhil.
Thank you for the step by step instructions on how to accomplish this process. I would like to do it real time using a power automate flow. Direct query is not possible in my environment. Do you have any code examples for passing parameters from PowerApps - Power Automate - Power BI SQl query ?
Hi @nvalPBI
Yes, you can let users enter a date in a Power App form and use that in Power BI to get specific data. Here’s how it works, in easy steps.
You don’t want to hardcode a date anymore. Instead, you want users to type or pick a date in a form, and then Power BI should use that date to pull the right data.
Try Build a simple form in Power Apps
Add a Date Picker control this lets users choose a date easily.
After You have a clean form that says. “Please choose a date to load the report”
The user picks June 1st. You press submit. Boom Power BI loads data just for June 1st. And remember no more editing queries manually.
------------------------------------------------------------------------------------------------------------------------------
If this solution works for you, please consider marking it as accepted so others facing a similar issue can benefit too.
Regards,
Akhil.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
11 | |
8 | |
8 |
User | Count |
---|---|
17 | |
10 | |
7 | |
7 | |
7 |