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
Can anyone help find the errors in this code?
= Table.AddColumn(#"Changed Type", "BillingTotal", each
let
projectID = [Project_ID],
fees = if Table.SelectRows(ForecastBilling, each [ID_Project] = projectID)[Unweighted Fees] <> null then List.Max(Table.SelectRows(ForecastBilling, each [ID_Project] = projectID)[Unweighted Fees]) else 0
in
if fees > 0 then "Billing" else "Pipeline"
)
What error are you getting?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |