cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CP153319
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
v-jefferni
Community Support
Community Support

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
v-jefferni
Community Support
Community Support

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,377)