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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

IN conditions from sheet excel

Hi all!,

 

it's possibile in Power BI runs a query ( from a Oracle DataSource)  with a "where clause" that read from a sheet Excel?

 

For example, my situation is the following:

 

  • Build a Dashboard,istograms and pie charts  with a query on Oracle DB like this --> 
    select * from <table_name> where <input_list> in <Sheet_Excel>

thank's you All

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

You could get it as below:

Step1:

get data from <Sheet_Excel>

Step2:

Transform the Sheet_Excel as New Query

6.JPG

Step3:

Now add a parameter based on the new query

7.JPG

8.JPG

 

Now, you could use this parameter in query on Oracle DB as the article

https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/

 

Best Regards,

Lin

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

Thank's Lin... I'll try... Keep in touch!!

hi, @Anonymous 

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Best Regards,

Lin

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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