Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have mailing addresses within a file and I'm trying to check the postal codes to ensure they follow the right format of A#A #A#. With Excel, I'd use the MID formula to return the specific character and manually review. Is there a Power Query function to check the format of postal codes and ensure they follow the guidelines of A#A #A#?
Thank you in advance! I've tried searching for this but couldn't find any solutions.
Solved! Go to Solution.
Hi, @Anonymous
In powerbi, I would suggest you create a calculated column or measure.
You can use the MID function to return the specific character and manually review.
Please check this official document.
You can also try "split" feature in query editor as below:
Best Regards,
Community Support Team _ Eason
Hi, @Anonymous
In powerbi, I would suggest you create a calculated column or measure.
You can use the MID function to return the specific character and manually review.
Please check this official document.
You can also try "split" feature in query editor as below:
Best Regards,
Community Support Team _ Eason
Thanks for this! Going to try it out and hopefully can get it to work.
@Anonymous , You can create a string with the format and compare, but not sure that can help https://docs.microsoft.com/en-us/powerquery-m/text-format
Text.Start Text.Middle and Text.End are good to use
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |