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 / Passing values to Powe...
Power Automate
Suggested Answer

Passing values to Power BI Run a query against a dataset

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I created a Power Automate to extract usage metrics data from 9 workspaces and dump the dataset in CSV files. The flow looks like below. The workspace names are stored in an array variable. Then, "Apply to each" is used to loop through the array. It calls Power BI - Run a query against a dataset function to output the dataset of "Usage Metrics Report"  in CSV format and save it in SharePoint for each workspace.

 

The error I get is "404 Not Found" for all 9 workspaces, but I'm 100% sure that Usage Metrics Report exists in all of them. Also, if I run the flow with static values - hard coded the workspace name and Usage Metrics Report dataset, it runs successfully.

 

Did I miss any component in the flow?

 

teresating886_0-1667861315249.png

 

Categories:
  • HernanC Profile Picture
    2 on at

    Hi! have you found a solution for this? I'm facing the same issue.. thks

  • Suggested answer
    DK-23010059-0 Profile Picture
    2 on at
    The values you are calling 'hardcoded' are nothing but dataset ids and group ids. So, the Power BI usage metrics dataset id needs to be entered, and not its name!
  • Ruturaj Profile Picture
    41 on at
    Yes as mentioned  you need to pass values for Workspace ID and Dataset ID:
    e.g.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard