Lookup data can't be pulled into a new list?

%3CLINGO-SUB%20id%3D%22lingo-sub-1048681%22%20slang%3D%22en-US%22%3ELookup%20data%20can't%20be%20pulled%20into%20a%20new%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1048681%22%20slang%3D%22en-US%22%3E%3CP%3EHopefully%20I%20can%20explain%20this%20well%20enough%20along%20with%20the%20use%20of%20the%20below%20image%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20723px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F160178i4F6F2D20EFCC8E44%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Layout.png%22%20title%3D%22Layout.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20have%20the%20Analysis%20Request%20List%20(centre)%2C%20which%20is%20like%20the%20mastersheet.%20The%20Container%20and%20Batch%20fields%20in%20this%20list%2C%20feed%20from%20their%20own%20respective%20lists%20via%20a%20Lookup.%20In%20turn%2C%20the%20Analysis%20Request%20list%20generates%20(automatically)%20a%20RequestID%20number.%20This%20number%20is%20referenced%20in%20the%20other%26nbsp%3Bthree%20lists%20which%20are%20the%20various%20types%20of%20analysis%20that%20may%20be%20requested.%20I%20have%20been%20hoping%20to%20make%20it%20so%20that%20when%20I%20enter%20a%20RequestID%20number%20in%20an%20AnalysisType%20list%2C%20it%20pulls%20the%20Container%20and%20Batch%20information%20with%20it.%20Unfortunately%20this%20doesn't%20seem%20to%20work%2C%20because%20these%20two%20sit%20in%20the%20Analysis%20Request%20list%20as%20data%20from%20a%20Lookup.%20So%20it%20seems%20that%20you%20can%20use%20a%20Choice%20or%20Lookup%20from%20one%20list%20to%20another%2C%20but%20you%20are%20unable%20to%20reuse%20that%20data%20in%20a%20third%20list%3F%3C%2FP%3E%3CP%3EThis%20means%20I%20am%20unable%20to%20relate%20the%20data%20properly.%20I%20am%20looking%20into%20alternative%20ways%20to%20manage%20data%20within%20SharePoint%20(SQL%20database%20etc)%2C%20but%20ultimately%20I%20am%20hoping%20to%20keep%20the%20interface%20side%20of%20things%20within%20the%20SharePoint%20UI.%2090%25%20of%20work%20is%20carried%20out%20within%20SharePoint%20and%20I%20am%20reluctant%20to%20have%20a%20solution%20that%20sits%20outside%20of%20it........%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1048681%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1049363%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20data%20can't%20be%20pulled%20into%20a%20new%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1049363%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F446422%22%20target%3D%22_blank%22%3E%40LabDude09%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20inclined%20to%20use%20Flow%20to%20keep%20the%26nbsp%3B%3CSPAN%3EContainer%20and%20Batch%20information%26nbsp%3Bupdated%20in%20the%20Analysis%20Type%20lists.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAnother%20possibility%2C%20is%20to%20create%20Calculated%20columns%20based%20on%20the%20Container%20and%20Batch%20columns.%20These%20in%20turn%20are%20used%20for%20Analysis%20Type%20lists.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20hope%20this%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ENorm%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1051395%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20data%20can't%20be%20pulled%20into%20a%20new%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1051395%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111382%22%20target%3D%22_blank%22%3E%40Norman%20Young%3C%2FA%3EThanks%20for%20the%20response%20-%20I%20have%20not%20thought%20of%20these%20options%20as%20I%20am%20still%20trying%20to%20understand%20how%20to%20work%20with%20Flows%20and%20its%20capabilities.%20If%20you%20have%20the%20time%2C%20is%20it%20possible%20to%20provide%20me%20with%20a%20few%20steps%20on%20how%20to%20go%20about%20either%20of%20these%20options%20as%20I%20am%20not%20sure%20where%20to%20start.%3C%2FP%3E%3CP%3EIn%20the%20meantime%20I%20will%20do%20my%20best%20to%20work%20out%20how.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1051460%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20data%20can't%20be%20pulled%20into%20a%20new%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1051460%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F446422%22%20target%3D%22_blank%22%3E%40LabDude09%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESure%20let%20me%20put%20something%20together.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1052036%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20data%20can't%20be%20pulled%20into%20a%20new%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1052036%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111382%22%20target%3D%22_blank%22%3E%40Norman%20Young%3C%2FA%3E%26nbsp%3BI%20look%20forward%20to%20your%20help.%20I%20did%20try%20to%20get%20a%20Flow%20to%20work%2C%20but%20all%20it%20did%20was%20put%20a%20batch%20code%20on%20a%20seemingly%20random%20Request%20entry%2C%20rather%20than%20the%20new%20one%20that%20was%20created.%20I%20couldn't%20figure%20out%20what%20went%20wrong%20so%20was%20unable%20to%20progress%20from%20there.%3C%2FP%3E%3CP%3EI%20also%20tried%20using%20JSON%20formatting%20to%20grab%20the%20value%20and%20put%20it%20in%20a%20new%20column%2C%20which%20worked.%20But%20when%20I%20checked%20the%20box%20to%20grab%20data%20from%20the%20new%20field%20(copy%20of%20the%20lookup%20column%20data)%2C%20it%20wouldn't%20bring%20it%20over%20to%20the%20analyse%20list.%20I%20tried%20other%20data%20points%20and%20they%20worked%2C%20so%20not%20sure%20what%20it%20doesn't%20like%20about%20the%20field%20being%20populated%20by%20JSON%20formatting.....%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1053198%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20data%20can't%20be%20pulled%20into%20a%20new%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1053198%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F446422%22%20target%3D%22_blank%22%3E%40LabDude09%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20example%20illustrates%20the%20basic%20mechanics%20of%20using%20Flow%20to%20copy%20the%20data%20to%20the%20other%20lists.%20I%20don't%20know%20all%20of%20your%20requirements%20so%20do%20expect%20this%20to%20be%20a%20complete%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20%22Analysis%20Request%20List%22%20has%20a%20look%20up%20number%20column%20to%20the%20%22Container%20List%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECreate%20a%20new%20automated%20Flow%20for%20the%26nbsp%3B%22Analysis%20Request%20List%22%20using%20the%20%22When%20an%20item%20is%20created%22%20trigger.%20Add%20the%20%22Create%20item%22%20action%20for%20the%20%22Analysis%20Type%20a%22%20list.%20Use%20an%20Expression%20to%20copy%20the%20%22Container%22%20value%20to%26nbsp%3B%22Analysis%20Type%20a%22%20-%20%22Container%22%20column.%20Example%20listed%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CPRE%3E%3CSPAN%3Eint(triggerBody()%3F%5B%3C%2FSPAN%3E%3CSPAN%3E'Container'%3C%2FSPAN%3E%3CSPAN%3E%5D%3F%5B%3C%2FSPAN%3E%3CSPAN%3E'Value'%3C%2FSPAN%3E%3CSPAN%3E%5D)%3C%2FSPAN%3E%3C%2FPRE%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F160443i5A253B6F68F3AD74%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3ELet%20me%20know%20if%20I%20can%20help%20further.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3ENorm%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1059387%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20data%20can't%20be%20pulled%20into%20a%20new%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1059387%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111382%22%20target%3D%22_blank%22%3E%40Norman%20Young%3C%2FA%3Esorry%20for%20the%20late%20reply%20-%20I%20have%20been%20stuck%20carrying%20out%20normal%20work%20duties.%20Hopefully%20I%20can%20look%20into%20this%20further%20over%20the%20next%20few%20days%20and%20see%20if%20I%20can%20get%20something%20working.%20Appreciate%20the%20help%20so%20far!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hopefully I can explain this well enough along with the use of the below image:

Layout.png

 

So I have the Analysis Request List (centre), which is like the mastersheet. The Container and Batch fields in this list, feed from their own respective lists via a Lookup. In turn, the Analysis Request list generates (automatically) a RequestID number. This number is referenced in the other three lists which are the various types of analysis that may be requested. I have been hoping to make it so that when I enter a RequestID number in an AnalysisType list, it pulls the Container and Batch information with it. Unfortunately this doesn't seem to work, because these two sit in the Analysis Request list as data from a Lookup. So it seems that you can use a Choice or Lookup from one list to another, but you are unable to reuse that data in a third list?

This means I am unable to relate the data properly. I am looking into alternative ways to manage data within SharePoint (SQL database etc), but ultimately I am hoping to keep the interface side of things within the SharePoint UI. 90% of work is carried out within SharePoint and I am reluctant to have a solution that sits outside of it........

 

6 Replies

Hi @LabDude09,

 

I would be inclined to use Flow to keep the Container and Batch information updated in the Analysis Type lists. 

 

Another possibility, is to create Calculated columns based on the Container and Batch columns. These in turn are used for Analysis Type lists. 

 

I hope this helps.

 

Norm

@Norman YoungThanks for the response - I have not thought of these options as I am still trying to understand how to work with Flows and its capabilities. If you have the time, is it possible to provide me with a few steps on how to go about either of these options as I am not sure where to start.

In the meantime I will do my best to work out how.

 

Thanks

Hi @LabDude09,

 

Sure let me put something together.

 

Norm

Thanks @Norman Young I look forward to your help. I did try to get a Flow to work, but all it did was put a batch code on a seemingly random Request entry, rather than the new one that was created. I couldn't figure out what went wrong so was unable to progress from there.

I also tried using JSON formatting to grab the value and put it in a new column, which worked. But when I checked the box to grab data from the new field (copy of the lookup column data), it wouldn't bring it over to the analyse list. I tried other data points and they worked, so not sure what it doesn't like about the field being populated by JSON formatting.....

Hi @LabDude09,

 

This example illustrates the basic mechanics of using Flow to copy the data to the other lists. I don't know all of your requirements so do expect this to be a complete solution.

 

The "Analysis Request List" has a look up number column to the "Container List".

 

Create a new automated Flow for the "Analysis Request List" using the "When an item is created" trigger. Add the "Create item" action for the "Analysis Type a" list. Use an Expression to copy the "Container" value to "Analysis Type a" - "Container" column. Example listed below:

 

int(triggerBody()?['Container']?['Value'])
 
clipboard_image_0.png
 
Let me know if I can help further.
 
Norm

 

@Norman Youngsorry for the late reply - I have been stuck carrying out normal work duties. Hopefully I can look into this further over the next few days and see if I can get something working. Appreciate the help so far!