The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi Everyone,
I'm trying to loop through multiple databases, each with a different connection string. All the databases have the same structure and format. My goal is to parameterize the connection and query so that I can extract information from each database dynamically.
So far, my findings suggest that this is not yet supported in Fabric. Any updates on this would be greatly appreciated.
Solved! Go to Solution.
Hi Tech122,
We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.
If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.
Thank you.
Hi Tech122,
We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.
If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.
Thank you.
Thank you @v-pnaroju-msft , @NandanHegde and all. It appears that there is still a limitation in the Microsoft Fabric environment.
Hi Tech122,
Please find below some possible workarounds that may help resolve the issue:
If you find our response helpful, we request you to mark it as the accepted solution and provide kudos, as this will assist other community members facing similar queries.
Thank you.
Thank you for the responses. Is there any workaround or alternative approach to achieve the Dynamic SQL Connection handling in this scenario? Any suggestions or best practices would be greatly appreciated.
Thank you for the the responses. I was wondering if there is any workaround or alternative approach to achieve dynamic connection handling in this scenario. Any suggestions or best practices would be greatly appreciated.
Thank you again for your assistance
Thank you for all the responses. I was wondering if there is any workaround or alternative approach to achieve dynamic connection handling in this scenario. Any suggestions or best practices would be greatly appreciated.
Thank you again for your assistance.
Thank you, @NandanHegde , for your response.
Hi @Tech122,
We sincerely appreciate your inquiry on the Microsoft Fabric Community Forum.
In addition to the response provided by @NandanHegde, each connection in Fabric is predefined, and dynamically modifying the connection string within a pipeline or dataflow is not possible.
We kindly request you to stay updated by referring to the following documentation:
What's New? - Microsoft Fabric | Microsoft Learn
If you find our response helpful, we request you to mark it as the accepted solution and provide kudos, as this will assist other community members facing similar queries.
Thank you.
Both :
1) Making the connection value dynamic (parameterzing the connectin values)
2) And dynamically updating the connectionid in the activity for non fabric objects
are not possible as of today.
Unfortunately, based on my understanding it is not possible to parameterzie connections for components other than fabric components.
So your guess is correct