Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I am currently working on a sales table in PowerQuery which contains a list of 'Customer Numbers' as numerical values. Most of these are reoccuring customers with a single 'Customer Number' but there is an growing list of 'Customer Numbers' which are generated for one time sales.
These have an 8 digit format as opposed to the stadard vaiation of no more than 4 digits.
I want to replace all values in this table over say 7 digits or greater than 10000000 with a text frase of "Internal".
Can someone please help with a solution in PowerQuery.
Solved! Go to Solution.
Create a new conditional column as below.
If it helps, mark it as a solution
Kudos are nice too
Create a new conditional column as below.
If it helps, mark it as a solution
Kudos are nice too
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |