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! Request now
Hi
So I have a colum that has two value types ( blank and numbers ). The numbers are unique.
I need to change the Blank entries to text and I need to change all the numbers to text aswell.
So blank needs to be replaced with "Blue". And 1 to 5 needs to be changed to "Red"
I have managed to change blank to "Blue" very poorly. I first counted all the blanks in a messure then via another messures replaced Blank. The number change is evading me.
Any suggestions ?
Solved! Go to Solution.
@Valnus Create a column like below:
@Valnus Create a column like below:
Use Power Query. Make sure that the column type is numeric and add a conditional column that gives Red if the value is between 1 and 5, Blue if the value is null and gives the existing value otherwise. Once you have added the conditional column you can delete the base column if you don't use it for anything else.
Hi
So the colum is numeric as there are alot of numbers ( ID's ) & the null values in the column
So I need to change all the null's to "Main Member" & all the random 1 to 5 digits to " Dependent"
That's even simpler then, just add a conditional column which gives "Main Member" if the value in your column is null otherwise it gives "Dependent"
So an IF statment ?
I tried but when I wanted to get a COUNT of each to use with another value.
Can you give me an example of the DAX statment please
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.