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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |