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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
saswati0709
Frequent Visitor

Passing Parameter/Variable To Database and fetching the records to Power BI

can we create a dynamic value and based on the selected value how can we get the records from the DB. Is it possible in power BI.

let say I have a date field , on the selection of the date field I should get the records from the DB and display in the report or we can say passing a parameter or variable to database and then pulling the data in Power BI.

 

NOTE: Date value has been used in multiple place within the query.
Any solution would be appriciated.

2 REPLIES 2
anupaminfo
Frequent Visitor

@saswati0709 

I didn't try that solution yet personally.. but i can add a link that will give you some idea how to acheive the solution. 

Please check.

https://www.youtube.com/watch?v=pXU_SpiBWUA

Thankyou @anupaminfo , but the date will be a database field which will be imported to powerbi on selection of the date i want the data to be fetched.
In the video you have shared the parameter date value has to pass. but i want the variable which should redirect to DB.

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.