This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
I have a table that has overlapping data. How can I create one merged column whereby if there are blanks in one it takes the value from the other and if there are blanks in the other it returns the value from the other. Where the data overlaps it just returns the value.
When the data overlaps the values are the same. I am trying to do this through Query Editor.
Any help would be much appreciated.
Many thanks in advance.
Kind regards,
Alex
Solved! Go to Solution.
Hi,
just add a (conditional) column and create an if-statement kinda like: if [col1] = "" then [col2] else [col1]
Regards,
Julian
Hi,
Try this
=if [col1] = null then [col2] else [col1]
Hi,
Try this
=if [col1] = null then [col2] else [col1]
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 20 | |
| 20 |