web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add records from datav...
Power Apps
Answered

Add records from dataverse table to collection

(0) ShareShare
ReportReport
Posted on by 331

Hello all,

I need to create a drop-down component with a list of filtered users coming from a dataverse table.

 

My dataverse table is the following : 

forstera_0-1702373846052.png

the names of the fields in my table are as follows :

  • IDPerson (Primary key)
  • Name
  • Surname
  • Email
  • IsEmploye (boolean)

Before trying to filter my table, I just tried to get some records using the following formula :

 

ClearCollect( Employes;
 Table(
 { IDPerson: GBJB-Personen[@IDPerson]; Nom: GBJB-Personen[@Name]; Prenom: GBJB-Personen[@Surname]; GBJB-Personen[@Email]} ))

 

but this is not correct. So I tried the following :

 

ClearCollect( Employes;
 Table(
 { IDPerson: [@GBJB-Personen].IDPerson; Nom: [@GBJB-Personen].Vorname}; Prenom: [@GBJB-Personen].Nachname} ))

 

but it's wrong, too

I'm still searching on my side but if you've an idea ; here's what I should do:

 

retrieve the following fields from my table GBJB-Personen :

IDPerson ; Name ; Surname ; Email

where the field IstMitarbeiter = true

 

Someting like ..

 

ClearCollect(Employes,
 ShowColumns(
 Filter([@GBJB-Personen].'istMitarbeiter'=true);
 [@GBJB-Personen].'PersonID';
	[@GBJB-Personen].'Name' ;
	[@GBJB-Personen].'Surname'
 )
)

 

 

I'll then create a drop-down list  with that collection

Thanks to all for your help 🙂

 

 

 

 

m look

Categories:
I have the same question (0)
  • Verified answer
    forstera Profile Picture
    331 on at

    Ok, I finally solved it by using the following formula : 

    ClearCollect( Employes; 
    ShowColumns( Filter('GBJB-Personen';
    IstMitarbeiter = true);
    "edu_gbjb_personen_idperson";
    "edu_gbjb_personen_nachname";
    "edu_gbjb_personen_vorname";
    "edu_gbjb_personen_email"))

    ClearCollect( Employes; ShowColumns( Filter('GBJB-Personen';IstMitarbeiter = true);"edu_gbjb_personen_idperson";"edu_gbjb_personen_nachname";"edu_gbjb_personen_vorname";"edu_gbjb_personen_email"))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 516

#2
WarrenBelz Profile Picture

WarrenBelz 428 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 292

Last 30 days Overall leaderboard