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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Brian_M
Responsive Resident
Responsive Resident

DMV DISCOVER_CALC_DEPENDENCY "Unsupported dependency node detected"

Hi, 

 

I'm trying to use the model documenter https://data-marc.com/model-documenter/ 

and the following query SELECT * FROM $SYSTEM.DISCOVER_CALC_DEPENDENCY fails. I've tried the same query in DAX Studio and find the same issue:

"Unsupported dependency node discovered"

 

I've traced it back to any queries that used parameters for SQL server and database names.

 

let
    Source = Sql.Database(#"Azure SQL Server",#"Azure SQL Database"),
    dbo_vw_myview = Source{[Schema="dbo",Item="vw_myview"]}[Data]
in
    dbo_vw_myview

 

 

If I replace the parameters with the actual strings for server and database then it works.

 

Surely parameterising the server and database name so that you can update this in one place is a good pattern?

 

Is this a bug or am I using a bad pattern?

 

Kind regards,

Brian 

 

1 REPLY 1
v-xicai
Community Support
Community Support

Hi   @Brian_M ,

 

You may refer to the article: https://www.biinsight.com/dax-measure-dependencies-in-ssas-tabular-and-power-bi/.

 

If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support , Scroll down and click "CREATE SUPPORT TICKET" to get further help.

 

Best regards

Amy

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.