Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
innocence84
Helper I
Helper I

How to run dynamic management view queries within dataflows

Hi all,
I want to find dataset sizes and saved them into tables via dataflows. I found this URL: https://learn.microsoft.com/en-us/power-bi/enterprise/service-premium-large-models
Screen Shot 2023-08-08 at 10.08.11 am.png

I created a new dataflow and run the query via Azure Analysis Services connection:

 

let
  Source = #"Dictionary Size Query",
  #"Drill down" = Source{0}[Value],
  Custom = AnalysisServices.Database(#"Workspace URL", #"Dataset Name", [Query = #"Drill down"])
in
  Custom

 

 
Then I exported the dataflow. When I try to import the dataflow, I got the below when exception:
Screen Shot 2023-08-08 at 10.20.14 am.png

How can I run dynamic management view queries for Power BI assets (datasets etc) within dataflows?

Thanks
0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.