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 / Load different excel s...
Power Apps
Answered

Load different excel sheet.

(0) ShareShare
ReportReport
Posted on by 126

Hello.

 

I have an excel file with 3 sheets: SEP_AREA, SEP_PROJECT_A and SEP_PROJECT_B.

 

SEP_AREA: Area1, Area2 and Area3.

SEP_PROJECT_A: Project1, Project2, Project3, Project4, Project5.

SEP_PROJECT_B: Project6, Project7, Project8, Project9, Project10.

 

On PowerApps, my Dropdown1 has the values from SEP_AREA.

 

 

I would like to do something like:

If value from Dropdown1= "Area1" load SEP_PROJECT_A else SEP_PROJECT_B. 

 

 

Thank you.

 

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @RLeite :

    Could you please show me the data structure of these three tables? What are Area1/2/3 and Project1/2/3? Are they column names Or just value?

    What does 'load' mean? Do you want to show SEP_PROJECT_A or SEP_PROJECT_B in a gallery?

    Best Regards,

    Bof

  • RL-26071304-0 Profile Picture
    126 on at

    Hi.

     

    Sheet: SEP_AREA

    Table: TABLE_AREA

    Values: Area1, Area2, Area3.

     

    Sheet: SEP_PROJECT_A

    Table: TABLE_PROJECT_A

    Values: Project1, Project2, Project3, Project4, Project5.

     

    Sheet: SEP_PROJECT_A

    Table: TABLE_PROJECT_A

    Values: Project6, Project7, Project8, Project9, Project10.

     

     

    I have a Dropdown with the values from TABLE_AREA.

    The result should be values from TABLE_PROJECT_A or TABLE_PROJECT_B in another Dropdown.

     

    Example: 

    Dropdown1: "Area1"

    Dropdown2: "Project1", "Project2", "Project3", "Project4", "Project5".

     

    Example 2:

    Dropdown1: "Area2"

    Dropdown2: "Project6", "Project7", "Project8", "Project9", "Project10".

     

     

    I hope you can understand.

    Thank you.

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @RLeite :

    If TABLE_PROJECT_A and TABLE_PROJECT_B have the same data structure (same column names and same data type),please try:

    Switch(
     Dropdown1.SelectedText.Value,
     "Value1",
     TABLE_PROJECT_A,
     "Value2",
     TABLE_PROJECT_B
    )

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard