Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have hierarchy table but last values are spilt across many columns based on non empty column. I want to have one column to join Fact table based in code.
Value column should have last value from last non empty column
Please help me in solving this issue.
Expected result
Hi @GURUPRASADB
Check if your columns are BLANK() or "" COALESCE works with BLANK() if you have "" or " " it will not work, but you can use SWITCH instead.
Hi,
I see COALESCE is working for only one column, but I have 6 columns to check.
I tried with Switch also it wont work for multiple columns
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 22 | |
| 17 | |
| 11 | |
| 10 |