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! Learn more

Reply
sabeer6870
Microsoft Employee
Microsoft Employee

Filter Data from Data source by Excel Column.

I have list of values for a column in excel sheet.

Content :

 

Regions

US East

Asia west

..

..

 

----------------

 

Now I want to query kusto data source iff Regions in the above regions.

 

Cannot fetch all the data from Kusto as it too big.

 

I have a query which gets the data from Excel but cannot use it to Kusto query.

 

Till now what have I tried:

Table which contains all the regions by name "Regions"

 

Tried creating this query to get it from the kusto :

 

Spoiler

```

let
rgn = Text.Combine({"(", Record.Field(Table.First(Table.SelectColumns(#"Region", "regions")), "regions"), ")"}),
q = Text.Combine({"Cluster | where region in~  '(", rgn, ")'"}),
src=Kusto.Contents("clustername", "DB", q, [MaxRows=null, MaxSize=null, NoTruncate=null, AdditionalSetStatements=null])
in
src

```

this gives me following error:

Formula.Firewall: Query 'KsutoQuery' (step 'src') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.

1 REPLY 1
Icey
Community Support
Community Support

Hi @sabeer6870 ,

 

To be honest, I don't know about Kusto. 

For filter data from a list, what about this: Pass a list as filter argument in Power Query?

 

 

Best Regards,

Icey

 

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

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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