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
Dear All,
Thank you for taking the time to read this.
In my Query I've this kind of Data
Type1 Type2 Type3 NEW COL
AA BB BB
CC DD EE EE
I would like to add a new column that does the follwing:
(if type3 ="" then (if type 2 ="" then type 1 else type 2) else type 3)
the reason is that I want to map and merge with another table
Mapping Table
BB BALI-BALO
EE ELI-ELO
Is this possible ?
Regards,
Laurent
Solved! Go to Solution.
Create a custom column in Edit queries as below
= if [Type3] = "" and [Type2] = "" then [Type1] else if [Type3] = "" then [Type2] else [Type3]
If it helps, mark it as a solution
Kudos are nice too
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 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |