Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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!
@Franny_Spanny Is using DAX an option? Another option would be to add a Python or R step to the query and use regex.
@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 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |