cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Gorilla_8
Level: Powered On

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
Gorilla_8
Level: Powered On

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
Community Support Team
Community Support Team

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.
Gorilla_8
Level: Powered On

Re: TABLE REPEATING POWERAPPS

i am trying savind two dropdwon in one scenario

Community Support Team
Community Support Team

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.
Gorilla_8
Level: Powered On

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.

Gorilla_8
Level: Powered On

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

Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,401)