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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
TiagoAsseituno
New Member

SQL at Oracle DBA - Variable conditions

Hello all,
I have a report where I'm using an Oracle database to get info directly from my ERP.
And it is a simple SQL:
select * from database.table where item = 'TIAGO123' OR item = 'TIAGO432'
So far, so good. But where conditions can change, I can add more items or remove... So instead of having the end user editing the connection>source, I would like to know if there is a way to leave it flexible.
I have the items lists in one of the Excel spreadsheet where I connect to this SQL.
Let me know any doubts.
Thanks
Tiago
1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@TiagoAsseituno,

 

You may take a good look at the following post.

https://community.powerbi.com/t5/Desktop/parameterize-connection/m-p/205900#M90712

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@TiagoAsseituno,

 

You may take a good look at the following post.

https://community.powerbi.com/t5/Desktop/parameterize-connection/m-p/205900#M90712

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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