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! Request now

Reply
slukas
Frequent Visitor

Quick question on querying a large file

I have a fairly large CSV file that contains a flag designating domestic business versus international business.  The full file contains both.  What would be the best way to consume the data?  I can pull it twice giving each query a different name and filtering on the column that contains the flag.  Or, is there a better way to do this?

Steve

1 ACCEPTED SOLUTION
Stachu
Community Champion
Community Champion

you can connect to the file once, then reference that query in 2 separate new queries - filtering one for domestic, one for international
this way whenever you change the connect file both dependants will get the latest reference



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

View solution in original post

2 REPLIES 2
Stachu
Community Champion
Community Champion

you can connect to the file once, then reference that query in 2 separate new queries - filtering one for domestic, one for international
this way whenever you change the connect file both dependants will get the latest reference



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

slukas
Frequent Visitor

Thanks.  That did work but I had to go look up how to add query2 and query3 based on query1.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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