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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi,
Hoping y'all can help me.
Basically i want to create a custom column that picks up a value from Column 3 based on whether Column 1 and Column 2 contains something. Essentially the custom column will return Column 3 if Column 1 is NULL but at the same time if Column 2 is NOT NULL.
it's pretty straight forward to pick up a value from Column 3 if Column 1 is NULL but i can't seem to do it if Column 2 is NOT NULL(As ignore when it contains NO VALUE/IS BLANK). See screenprint below:
Solved! Go to Solution.
You will have to replace the empty/blank cells in Column2 with null, but then you can use this expression
= if [Column1] = null and [Column2] <> null then [Column3] else null
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
You will have to replace the empty/blank cells in Column2 with null, but then you can use this expression
= if [Column1] = null and [Column2] <> null then [Column3] else null
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thank you Pat 🙂
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |