cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

TABLE REPEATING POWERAPPS

I am trying to make a sharepoint table connect with another via ID so that in POWERAPPS, there is a "Name" connection with the user details for that ID created in "name", would anyone know?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Post Prodigy
Post Prodigy

Re: TABLE REPEATING POWERAPPS

I found a solution, but it looks like the exclamation item

 

chek this: 

ForAll(Gallery1.AllItems;
If(!IsBlank(LineDescricaoDoReembolso);
Patch(
ExpenseDetails;
Defaults(ExpenseDetails);
{
Title: LineItem;
ItemCost: LineCost;
MasterID: Form1.LastSubmit.ID;
Viagem_destino: LineViagem_Destino;
DataDaViagem: DateValue(LineDataDaViagem);
Moeda_Viagem: Value(LineMoeda_Viagem);
TaxaDaViagem: Value(LineTaxaDaViagem);
DataDoReembolso: DateValue(LineDataDoReembolso);
N_x00fa_meroDoDocumento: Value(LineNumeroDoDocumento);
DescricaoDoReembolso: Text(LineDescricaoDoReembolso);
ValorGastoItemViagem: Value(LineValorGastoItemViagem);
ValorGastoItemEmReaisVALORFINAL: Value(LineValorGastoItemReaisValorFinal);
TipodeDespesa:
{
ID: LookUp(ExpenseDetails; TipodeDespesa.Value = inputItemTipodeDespesa.Selected.Value).ID;
Value: inputItemTipodeDespesa.Selected.Value
};
CentroDeCusto:
{
ID: LookUp(ExpenseDetails; CentroDeCusto.Value = inputItemCentroDeCusto.Selected.Value).ID;
Value: inputItemCentroDeCusto.Selected.Value
}
}
)
)
)

View solution in original post

6 REPLIES 6
Highlighted
Community Support
Community Support

Re: TABLE REPEATING POWERAPPS

Hi @Gorilla_8 ,

 

Would you please share some sample data of your 2 lists and explain what you are trying to do with them? Please also tell the related column types.

 

Generally I think your scenario is something like the Lookup column does in SharePoint.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Post Prodigy
Post Prodigy

Re: TABLE REPEATING POWERAPPS

i am trying savind two dropdwon in one scenario

Highlighted
Community Support
Community Support

Re: TABLE REPEATING POWERAPPS

Hi @Gorilla_8 ,

 

Have many data sources are included? Please explain with some sample data.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Post Prodigy
Post Prodigy

Re: TABLE REPEATING POWERAPPS

Sem título.png

 

There are 3 data sources, an "ExpenseMaster" saves a form at the top (all OK in it), an "ExpenseDetails" has items to save including the drop down menu, and the collection is where forms are available to save, but he chooses an option of the first dropdowns.

Highlighted
Post Prodigy
Post Prodigy

Re: TABLE REPEATING POWERAPPS

I found a solution, but it looks like the exclamation item

 

chek this: 

ForAll(Gallery1.AllItems;
If(!IsBlank(LineDescricaoDoReembolso);
Patch(
ExpenseDetails;
Defaults(ExpenseDetails);
{
Title: LineItem;
ItemCost: LineCost;
MasterID: Form1.LastSubmit.ID;
Viagem_destino: LineViagem_Destino;
DataDaViagem: DateValue(LineDataDaViagem);
Moeda_Viagem: Value(LineMoeda_Viagem);
TaxaDaViagem: Value(LineTaxaDaViagem);
DataDoReembolso: DateValue(LineDataDoReembolso);
N_x00fa_meroDoDocumento: Value(LineNumeroDoDocumento);
DescricaoDoReembolso: Text(LineDescricaoDoReembolso);
ValorGastoItemViagem: Value(LineValorGastoItemViagem);
ValorGastoItemEmReaisVALORFINAL: Value(LineValorGastoItemReaisValorFinal);
TipodeDespesa:
{
ID: LookUp(ExpenseDetails; TipodeDespesa.Value = inputItemTipodeDespesa.Selected.Value).ID;
Value: inputItemTipodeDespesa.Selected.Value
};
CentroDeCusto:
{
ID: LookUp(ExpenseDetails; CentroDeCusto.Value = inputItemCentroDeCusto.Selected.Value).ID;
Value: inputItemCentroDeCusto.Selected.Value
}
}
)
)
)

View solution in original post

Highlighted
Community Support
Community Support

Re: TABLE REPEATING POWERAPPS

Hi @Gorilla_8 ,

 

Thanks for sharing the resolution here!

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,136)