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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Rename PBI query resul...
Power Automate
Unanswered

Rename PBI query results and format for html table

(0) ShareShare
ReportReport
Posted on by 20

Hello Everyone!

 

I am working on part of cloud flow that queries a PBI dataset and puts those results into an html table and that table into the body of an email. Unfortunately naming conventions of the columns from the PBI dataset are not very user friendly. Any suggestions? I feel like this is an easy fix but I am still getting the hang of cloud flows. 

 

For example: 

 

query column namewhat I would like to rename it
[table2name]BusinessNameEntity name
[tabl1Name]ContactNuumberPoC Number

 

 

Thanks!

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    Use a Select action to map your fields to different names
  • WheelerS84 Profile Picture
    20 on at

    Hi @lbendlin 

     

    Thanks for responding! I have tried that and when I do I get this same issue whether I pick row/body/first tables row as the "from" there is no field to map to that appears in the pop up menu. Am I missing something very simple? Should I try loading the results into a variable array first? I am pretty stumped here. 

     

    WheelerS84_0-1700013350337.png

     

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Don't use body as the source. Use "First table Rows".

  • Notsofastmatey Profile Picture
    8 on at

    This is exactly what I am trying to do as well. However, I'm not sure what values need to go in the steps. This is the output from the Power BI query:

    Notsofastmatey_0-1707328062368.png

     

    Here's what I'm putting into the Select step:

     

    Notsofastmatey_1-1707328121571.png

     

    But that just gives me this output:

    Notsofastmatey_2-1707328484090.png

    Can anyone point me in the right direction?

     

    Many thanks,

     

    Simon

     

     

     

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    In your select statement you are specifying static strings. You need to reference the dynamic JSON parts instead.

  • Notsofastmatey Profile Picture
    8 on at

    Thanks for replying. Should I be able to pick up the dynamic content from the lightning bolt button? There is none available.

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Only if you added a Parse JSON step in between. I prefer using the fx  option.

  • Notsofastmatey Profile Picture
    8 on at

    Could you possibly show me what you mean, or point me at some documentation? I'm really new to this and flailing around in the dark a bit. When I add a Parse JSON step and set it up like this (using the sample payload option), I still don't get any new dynamic outputs to use in later steps.

     

    Notsofastmatey_0-1707382707293.png

    Could you possibly show me what you mean, or point me at some documentation? I'm really new to this and flailing around in the dark a bit. When I add a Parse JSON step and set it up like this (using the sample payload option), I still don't get any new dynamic outputs to use in later steps.

     

    Notsofastmatey_0-1707382707293.png

    I'm not sure what to then choose in the Select step. I've tried all sorts of permutations. 

    Notsofastmatey_2-1707407854453.png

    Thank you for your help!

     

  • Notsofastmatey Profile Picture
    8 on at

    For anyone who finds this thread, I did fix it. I found this YouTube video extremely helpful - it walks you through the steps. https://youtu.be/ByIt2h5m4S0?si=ZkEKEbgIHvxR0Wq5 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard