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 Automate / How to use table value...
Power Automate
Unanswered

How to use table values as fieldname of another table?

(0) ShareShare
ReportReport
Posted on by 152

I have two tables

Table A:

CodeStates
1AK
2AL
3

AZ

4AR

 

Table B:

NameALAKAZAR
Company AXX  
Company B XXX
Company CX X 

 

So, in Power Automate, I want to check if AL, AK, AZ, AR, fields has a 'X' on Table B. 

I wonder if I can use Table A to somehow streamline the Power Automate steps.  

Straight up, I can check AL, AK, AZ, AR fields individually.  When all 50 States are there, this will get tedious.  

 

Any idea?  

 

Thanks!  

 

Dchan

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @dchan1  you are using excel tables, or sharepoint list?

  • dc7669 Profile Picture
    152 on at

    @ChristianAbata I am using SQL Tables.  I don't have problems getting the tables.  

  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @dchan1  what you can do is use FilterArray first to list every value in a colum that contains X, then you can use leght two know the number.

    filter.PNG

    So then you can know how many X have in column AL, or AK, or AZ etc.

  • dc7669 Profile Picture
    152 on at

    @ChristianAbata Sounds like what you are suggesting is for seeing  for each State, which companies has a check.  

     

    However, what I want is to show which States each company is operating in and export this to a GoogleSheet.  

    NameStates operated in.
    Company AAL, AK
    Company BAK, AZ, AR
    Company CAL, AZ
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    mmm @dchan1  what I'll do for that is create a sharepoint list that save a yes or no depending on the result I get from my sql query, after that I'll read the sharepoint list to create a table and send it to google sheets.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard