cancel
Showing results for 
Search instead for 
Did you mean: 
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.