Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi Power query experts,
I have a column that contains an extension number. For instance 100, 200, 12438976, 9872177654, ###, etc.
I will like a dax function to count the number of characters and categorize into "internal" or "external".
so the calc should be something like this. if the number of characters is greater than 10 then "internal" else "external".
Is there a function i can use to generate this logic.
Thank you
Solved! Go to Solution.
@Nanakwame you can use the following as a measure or column:
Measure = IF ( LEN ( 'Table'[Column] ) > 9 , "Output 1" , "Output 2" )
Hope all is well mate.
Speak soon 🙂
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Thank you Sir. Talk to you soon
@Nanakwame you can use the following as a measure or column:
Measure = IF ( LEN ( 'Table'[Column] ) > 9 , "Output 1" , "Output 2" )
Hope all is well mate.
Speak soon 🙂
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.