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
pmscorca
Post Prodigy
Post Prodigy

Using a wildcard in a get metadata activity to consider a specific set of files

Hi,

in a get metadata activity of a data pipeline I've tried to use a wildcard as "*.csv" in the file name cell of the file path section, but so the get metadata activity searchs a *.csv file.

It seems that it isn't possible to use an handy wildcard in a get metadata activity?

Any suggests in order to consider a specific set of files? Thanks

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

wildcard is not supported in Get metadata activity

NandanHegde_0-1719804561554.png

So you would have to use a combination of Get meta data activity and filter activity.

 

get all files present within the folder via Get meta data activity and then leveraging the filter activity, filter out CSV specific file extensions




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @pmscorca ,

 

As @NandanHegde said, the Get Metadata activity does not support wildcard filters on folders/files.

vkongfanfmsft_0-1719823564176.png

related document:

Get Metadata activity - Azure Data Factory & Azure Synapse | Microsoft Learn

 

Consider dynamically constructing file paths or names using expressions and variables in the pipeline.

related document:

Parameterize linked services - Azure Data Factory & Azure Synapse | Microsoft Learn

 

Best Regards,
Adamk Kong

 

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

NandanHegde
Super User
Super User

wildcard is not supported in Get metadata activity

NandanHegde_0-1719804561554.png

So you would have to use a combination of Get meta data activity and filter activity.

 

get all files present within the folder via Get meta data activity and then leveraging the filter activity, filter out CSV specific file extensions




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric 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.