cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

How To Bring Data From Look-Up (Dimension) Table And Add To It In PowerApps?

I have a list in SharePoint with multiple columns that has 40 items which make up a checklist. This list, in database terms, is a look-up table or dimension table. 

 

I need to make a PowerApp which will take the data from the list mentioned above, physically add one value to each of the 40 items (this one value is entered by an Employee), and then patch or save this to another SharePoint list (The "Fact" Table). So, basically, I'm taking a bunch of data from the 40 item check list, adding one Employee added value to each item, and putting it all in another SharePoint list. 

 

I know that I could just add an Edit form or something like this that would show all 40 items and then have a blank field for the one missing value (that the employee would add each day) but I'm wondering if there is another solution where there is only 40 text input boxes on the screen and a text label prompting what should be entered. 

 

Thanks for any replies - much appreciated. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft
Microsoft

Hi @CP153319 ,

 

Could you please share more details about your scenario?

 

If I understand correctly, would you like to display 40 blank text input boxes that are linked to the checklist and user could manually fill those blanks and save to data source?

 

If so, you could use a Gallery and set the display field to the column which user need to enter in. Otherwise, in this gallery you could simply add a label to tell user anything you want:

 

29.png

 

That gallery links to the check list in its Items property, and the text inputs with ThisItems.ColumnName in Text property. The button will be using to save those entries to data scource, the formula would be like:

ForAll(Gallery.AllItems,Patch(CheckList,ThisRecord,{ColumnName:TextInput.Text}))

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
Microsoft
Microsoft

Hi @CP153319 ,

 

Could you please share more details about your scenario?

 

If I understand correctly, would you like to display 40 blank text input boxes that are linked to the checklist and user could manually fill those blanks and save to data source?

 

If so, you could use a Gallery and set the display field to the column which user need to enter in. Otherwise, in this gallery you could simply add a label to tell user anything you want:

 

29.png

 

That gallery links to the check list in its Items property, and the text inputs with ThisItems.ColumnName in Text property. The button will be using to save those entries to data scource, the formula would be like:

ForAll(Gallery.AllItems,Patch(CheckList,ThisRecord,{ColumnName:TextInput.Text}))

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,769)