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

lookup in datatable

I use a datable control to show the work experience of every applicants

 

so i have a gallery of applicants, and a datatable in which i see the work experience of the selected applicant (Filter('Esperienze professionali';Candidato=Listacandidati.Selected.IDcandidato))

 

the problem is that some column of the datatable are numbers cause they are IDs (i.e. the "position"), and i want to use lookup

 

i tried

 

LookUp(Professioni;IDposizione=ThisItem.Posizione;PosizioneLavorativa) 

 

the first strange thing is that i had to use "thisitem.Posizione" and not "posizione" that is the numeric field in "work experiences" table, but it's not a big problem

 

the problem is that the column of the datatable returns in every row the same value, even that there are differents id

some idea?

2 REPLIES 2
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: lookup in datatable

Your expressions seem correct at first glance; can you list the fields in the 'Esperienze professionali' and 'Professioni' data sources (and what is the source of the data)?

I've attempted to recreate your scenario (using local collections), and the lookup worked as expected:

LookupInsideDataTable.gif

You can look at the attached app to see if there is something different than your case. To open it, save it locally, then go to https://create.powerapps.com, select Open (Apri) -> Browse (Sfoglia), and find the file that you saved.

Hope this helps!

diego_marino
Level: Powered On

Re: lookup in datatable

hi, thanks...in your example everything is all right

 

1)Workexperiences

 

Banca -Una riga di testo
Candidato -Numero
Data di inizio -Data e ora
Data di fine -Data e ora
Posizione -Numero
Sede- Numero
Porfafoglio -Una riga di testo
Note -Una riga di testo
Data/ora modifica -Data e ora
Data/ora creazione- Data e ora
Autore -Utente o gruppo
Modificato da

 

2) professioni

 

PosizioneLavorativa -Una riga di testo
IDposizione -Numero
Tipodicontratto -Una riga di testo
Settore- Una riga di testo
Data/ora modifica -Data e ora
Data/ora creazione -Data e ora
Autore- Utente o gruppo
Modificato da

 

 

thanks

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 229 members 5,090 guests
Please welcome our newest community members: