cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArturasF
Helper I
Helper I

Reference a table with text value

I have many tables (sp lists). I need for user to choose a table variable. Drivers_Alabama, Drivers_Ohio etc

User selects from drop down a text input Drivers_Alabama or Drivers_Ohio etc.

 

And then in next drop I need to use this text value as a table name, so it would be dependant on that.

 

I can use TableName as table value, but how to convert text input or inputs to table name? For example strings "Table" & "Name" should convert to TableName table.

3 REPLIES 3
Drrickryp
Super User II
Super User II

@ArturasF 

Why don't you have one table with a field for State?

Thank You for response. It is a hypotetical scenario, constructed in order to understand a problem. 

@ArturasF 

How does this look?  The first dropdown creates a list of table names.  The second dropdown uses the selected table as the Items property after converting the selected text from the first dropdown to the actual datasource. _Screenshot 2020-12-13 121022.png

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,132)