Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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 🙂
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |