Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
I have one OLEDB data source with multiple queries. How can I use the same data source for multiple queries
Ex.
Provider=SQLOLEDB.1;Initial Catalog=XXX;Data Source=YYY;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RRRR;Tag with column collation when possible=False
Query 1-
Select DISTINCT b.account_name as Account, b.market_segment_id, b.account_type_id
from acnt a left join acnt b on a.parent_account_id = b.account_id
where a.is_active = 1 and a.account_type_id =1
UNION
Select a.account_name as Account, a.market_segment_id, a.account_type_id
from acnt a left join acnt b on a.parent_account_id = b.account_id
where a.is_active = 1 and a.account_type_id = 1 and b.account_name is NULL
Order by Account
Query 2-
Select * from XYZ where Accnt="RRR"
these are just sample queries
The main question is how can I use same data source for multiple queries
I would think that you would just create multiple queries? I do this all the time to a single data source.
Hi,
I have one OLEDB data source with multiple queries. How can I use the same data source for multiple queries
Ex.
Provider=SQLOLEDB.1;Initial Catalog=XXX;Data Source=YYY;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RRRR;Tag with column collation when possible=False
Query 1-
Select DISTINCT b.account_name as Account, b.market_segment_id, b.account_type_id
from acnt a left join acnt b on a.parent_account_id = b.account_id
where a.is_active = 1 and a.account_type_id =1
UNION
Select a.account_name as Account, a.market_segment_id, a.account_type_id
from acnt a left join acnt b on a.parent_account_id = b.account_id
where a.is_active = 1 and a.account_type_id = 1 and b.account_name is NULL
Order by Account
Query 2-
Select * from XYZ where Accnt="RRR"
these are just sample queries
The main question is how can I use same data source for multiple queries
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 29 | |
| 26 | |
| 25 |