This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi
Is there a way to return zero when [order number] isn't present in FT_table?
Here is my query:
(let currentOrder = [order number] in Table.SelectRows(FT_Table, each [order number] = currentOrder)){0}[SupplierID]
BR
Lotte
Solved! Go to Solution.
It's generally better to handle the errors rather than replace them.
Try this:
let
currentOrder = [order number],
filteredTable = Table.SelectRows(FT_Table, each [order number] = currentOrder))
in
try filteredTable{0}[SupplierID] otherwise 0
Found a solution - replace error...
It's generally better to handle the errors rather than replace them.
Try this:
let
currentOrder = [order number],
filteredTable = Table.SelectRows(FT_Table, each [order number] = currentOrder))
in
try filteredTable{0}[SupplierID] otherwise 0
Thank you so much 😊
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |