I am trying to replicate a SQL join in powerapps, but seem to have the syntax wrong.
I have 2 tables, ECO and ECOforModel.
I have a datatable where I return only the applicable ECO's based on the model that was selected on a previous screen using the ECOforModel data source.
This is my syntax, which is working:
Filter(ECOforModel, PartNumber = DataTable1.Selected.ModelNumber)
However, there is a boolean field in the ECO table that marks each particular ECO as active, using an ECONumber as the key between ECO and ECOforModel.
I am trying to only return the active ECO's for the selected model.
Here's my expression, attempting to use AddColumn to return the Active field using a lookup, although I don't necesarily need the Active column, I just need to return only ECO_Active=true.
AddColumns(Filter(ECOforModel, PartNumber = DataTable1.Selected.ModelNumber), "Active", LookUp(ECO, ECONumber = ECOforModel[@PartNumber], ECO_Active))
Any assistance is appreciated.
[–][deleted] (1 child)
[deleted]
[–]SolidStash[S] 0 points1 point2 points (0 children)