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
I have two columns like below. The main data I want to use is from Column B, however when column B has a blank I want to use the data in the corrosponding cell in column A so I end up with column C. Is this possible, thanks in advance
| A | B | C |
| Green | Green | |
| Blue | Blue | |
| Red | Red | |
| Yellow | Yellow | |
| Pink | Pink | |
| Black | Black | |
| Purle | Purle | |
| Orange | Orange |
Solved! Go to Solution.
In Power Query this is a pretty simple if [column b] <> "" then [column b] else [column a], DAX would be similar
In Power Query this is a pretty simple if [column b] <> "" then [column b] else [column a], DAX would be similar
Hello - would you have suggestion if i have more than 2 columns? Thanks!
@jthomson sorry i put this as solved but it is not working. When i put in the "" it doesnt work with the measure
thanks
Maybe try null instead dependent on how exactly your data handles blanks
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 74 | |
| 50 | |
| 49 | |
| 44 |