Hi Everyone,
I thought this would be simple, but apparently not. Here is scaled down version of the CDS entity structure:
I was just looking to collect the table data into a collection:
Clearcollect(SalesDetailCollect, 'Sales Detail')
However the resulting collection has no data for 'Sales Category"
Any ideas of what I am doing wrong?
Thanks in advance.
Solved! Go to Solution.
Hi @JasonF
You can add the data in the lookup field by using the AddColumns() function.
ClearCollect(SalesDetailCollect, AddColumns('Sales Detail',"SalesCategory",Lookup('Sales Types',SalesCategory=SalesType))
The reference for table shaping functions is https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-table-shaping
Hi @JasonF
You can add the data in the lookup field by using the AddColumns() function.
ClearCollect(SalesDetailCollect, AddColumns('Sales Detail',"SalesCategory",Lookup('Sales Types',SalesCategory=SalesType))
The reference for table shaping functions is https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-table-shaping
Thank You,
That works.
JasonF
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
39 | |
17 | |
15 | |
4 | |
4 |
User | Count |
---|---|
41 | |
26 | |
26 | |
9 | |
7 |