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 / Create HTML table with...
Power Automate
Answered

Create HTML table with lookup and choice

(0) ShareShare
ReportReport
Posted on by 894

Datasource: Dataverse

 

I'm getting ID and numbers in the HTML Table:

Skärmavbild 2022-01-21 kl. 14.12.39.png

 

Flow is:

Skärmavbild 2022-01-21 kl. 14.13.01.png

Skärmavbild 2022-01-21 kl. 14.13.07.png

I don't have windows to use FetchXML Builder to expand queries. And not sure it will be possible to get. Otherwise I could have fetched the data in the List row action.

 

I have looked at some guides for how to initialize array and append array but I don't understand how to apply it here or if it applies.

 

Wondering what I can do, or if it's a lost mission?

 

Attendance is a choice field, RelateCandidate and Course are both lookups to other tables.

 

Categories:
I have the same question (0)
  • Gyllentid Profile Picture
    894 on at

    So, I managed to get help with the Expand Query and can fetch the data for the lookup columns. 

    If someone is trying to understand how to write queries here is what worked for me:

    Skärmavbild 2022-01-21 kl. 18.09.41.png

  • Gyllentid Profile Picture
    894 on at

    But choice column remains.

     

    I have tried today to make the table data into a string and replace 1000000 to Present. I used Compose to make it into a string. Then another compose to do the replace. All that worked, but now it's all a string and can't be used for an array for the Create an HTML table.

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @shavora ,

     

    You could use a json() function outside your string.

    It will convert the strint to an array.

     

    Best Regards,

    Wearsky

  • Gyllentid Profile Picture
    894 on at

    That sounds interesting, can you help me how the logic is? I am able to use the Parse JSON function in the flow. And what do I do after? @v-xiaochen-msft 

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

    Hi @shavora ,

     

    Please see the sample:

    vxiaochenmsft_0-1643011260306.png

     

    Best Regards,

    Wearsky

     

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 Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard