Hi @JNVCANDO ,
I would avoid applying a Lookup function to a Label in a Gallery if you can help it.
In the Items property of the Gallery, I assume you just have "SPList1". This is a Table. You can use the AddColumns function to include additional columns into that Table. In your scenario, we can use a Lookup function to bring in the Status column from your other data source and apply it to each record in the Table.
Apply the below for example into the Items property of your Gallery. You will notice that the custom column we created ("_Status") can now be referenced in your Gallery via ThisItem_Status.
AddColumns(
SPList1,
"_Status",
LookUp(
'Your Excel Data',
'Unique ID' = 'Related Unique ID in Excel'
).Status
)
To take this further, we can apply a Filter to the above table based on your Dropdown control. Replace the above expression with the below expression:
Filter(
AddColumns(
SPList1,
"_Status",
LookUp(
'Your Excel Data',
'Unique ID' = 'Related Unique ID in Excel'
).Status
),
_Status.Value = dd1.SelectedText.Value
)
On a separate note, Excel is a terrible data source. Please avoid using it if you can and instead use SharePoint (given you are using it already).
------------------------------------------------------------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.
If you like my response, please give it a Thumbs Up.