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

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
Highlighted
Power Apps
Power Apps

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!

Highlighted
Helper III
Helper III

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,191)