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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Franny_Spanny
Frequent Visitor

Check naming convention of data

Hi all, 

I am trying to find a way to check a standardised naming convention. 

 

We use a standard file naming format of:

 

??????-????-???-???-??-??-?-????

Project-Code-Originator-Volume-Level-Type-Discipline-Number

 

I would like to check a whole column of file names against the above standard. 

 

I really have no idea where to start with this - I already have checks that check each individual section between delimiters against a picklist (ie. Originator code exists in list, Volume code exists in list etc.) but I'm not sure where to start with checking the whole file name.

 

I know that we cannot use 'wildcards' such as ?? or * in PowerBI or PowerQuery so I'm a little stumped as the best way to achieve this.

 

Any help much appreciated!

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@Franny_Spanny Is using DAX an option? Another option would be to add a Python or R step to the query and use regex.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler absolutely okay for DAX. Python is possible.

R not an option due to this being work related and unfortunately unable to get R installed due to lots of red tape!

Hey @Greg_Deckler, not sure if you saw my whole reply as it was a later edit, so just wanted to tag again just in case 🙂 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.