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
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
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

July 2025 community update carousel

Fabric Community Update - July 2025

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