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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
samnay
Frequent Visitor

dynamic connexion to sql server

Hello All,

I have a requirement that i can not fixe.
Actually i want to build the same report for different sources. Is there any way to do it dynamically ??

The purpose is to do it by a code. Once trigered  the power bi report will take into account a specific data base ...
Thanks in advance,
Sara

1 REPLY 1
Michal_cwiok
Resolver II
Resolver II

If I understood you correctly, the answer is "to some extent". You have to use parameters and templates. However, I do not know if this can be done by code. We would require more information to see.

Let me know, if this answers your question. Blog post and a video.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors