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 / Using a Dataflow to qu...
Power Automate
Unanswered

Using a Dataflow to query the FlowRun Table

(1) ShareShare
ReportReport
Posted on by 2,429 Super User 2025 Season 2
Hi all,
 
we are trying to create a table where we can combine all flow runs from multiple environments and use them in a PowerBi Dashboard or further evaluation.
Our approach is to use dataflows to get the needed data and transform it, unfortunately the FlowRun Table does not show in the query editor of dataverse.
This should be the case because it's an elastic table. I tried different approaches but did not manage to fetch the data of said table.
 
Anybody who has done that and has a power query for my dataflow or another approach which could lead to success?
Categories:
I have the same question (0)
  • Verified answer
    Lucas001 Profile Picture
    2,429 Super User 2025 Season 2 on at
    The solution was to use the XRMToolbox Power Query (M) Builder Tool.
    With that you will get the following code. The workflow column sometimes does not work as expected.
    After deleting it from the query, you will be good to go.

    let

        ServiceRootURL = "https://YOURENVR-HERE.crm4.dynamics.com" & "/api/data/v9.2",

        Source = OData.Feed(ServiceRootURL, null, [Implementation="2.0"]),

        entity_table = Source{[Name = "flowruns", Signature = "table"]}[Data],

        #"Removed Other Columns" = Table.SelectColumns(entity_table,{"conversationid","createdby","createdonbehalfby","createdon","duration","endtime","errorcode","errormessage","flowrunid","importsequencenumber","isprimary","modifiedby","modifiedonbehalfby","modifiedon","name","ownerid","owningbusinessunit","parentrunid","partitionid","modernflowtype","overriddencreatedon","resourceid","starttime","status","ttlinseconds","triggertype","workflowid"}),

        #"Renamed Columns" = Table.RenameColumns( #"Removed Other Columns",{{"conversationid","Conversation id"},{"createdby","Created By"},{"createdonbehalfby","Created By (Delegate)"},{"createdon","Created On"},{"duration","Duration"},{"endtime","End time"},{"errorcode","Error code"},{"errormessage","Error message"},{"flowrunid","flowrunid"},{"importsequencenumber","Import Sequence Number"},{"isprimary","IsPrimary"},{"modifiedby","Modified By"},{"modifiedonbehalfby","Modified By (Delegate)"},{"modifiedon","Modified On"},{"name","Name"},{"ownerid","Owner"},{"owningbusinessunit","Owning Business Unit"},{"parentrunid","Parent Run Id"},{"partitionid","Partition Id"},{"modernflowtype","Power Automate Cloud Flow Type"},{"overriddencreatedon","Record Created On"},{"resourceid","Resource Id"},{"starttime","Start time"},{"status","Status"},{"ttlinseconds","Time to live"},{"triggertype","TriggerType"},{"workflow","Workflow"},{"workflowid","Workflow Id"}})

    in #"Renamed Columns"

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard