问题
I have just started learning the SQL Server and Power BI. I'm working on a project and for that i need to create a Measure for the Power BI report that will dynamically extracts the information about all the tables (like Table Name, Last Updated, Dependencies, etc) used in the Tabular solution.
I couldn't find any satisfactory answer anywhere. Is there anyone here who could help?
回答1:
If you are using an SSAS tabular data model or multi-dimensional cube, you can use DMVs to extract meta data to report on or analyze.
This ARTICLE includes a great walk through and a power bi template you can use to report on metadata.
Hope it helps!!
回答2:
DAX isn't going to do this for you. However, there are 3rd party tools like Power BI Helper that will allow you to extract model details.
来源:https://stackoverflow.com/questions/57616528/how-to-create-a-dax-measure-that-extracts-information-from-the-metadata-of-tabul