Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I suspect one of my tables in my pbix file is obsolete and not used in any required fields or mesaures. Please can you tell me how to check which fields and measures are dependant on the table before I delete it?
Many thanks,
CM
Solved! Go to Solution.
I think you can do this using "DAX Studio". It can be downloaded here..
Or
https://www.sqlbi.com/tools/dax-studio/
Once you download and install it, do the following in DAX Studio. Your power bi pbix file should be kept open in Power BI Desktop before opening DAX Studio.
Step 1:
After opening the pbix file in Power BI Desktop, Go to File->New in DAX Studio.
Step 2:
A "Connect" dialog will appear. Select "PBI / SSDT Model" radio button and select the pbix file name from the drop down list. It will show all the pbix file that are currently open.
Step 3: Click "Connect" button.
Step 4:
Once you connect all the tables and measures in your data model from the pbix file will be listed on the left side.
Step 5:
Right-Click the table name that you want to check for dependencies and select the "Show Objects That Reference Table" option from the context menu that appear.
Step 6:
Step 5 will create a query and when you click run from the ribbon, it will list all the dependent tables, relationships, measures etc... that dependents on the selected table in "Query Result" tab.
Though it looks complicated, it won't even take 2-3 minutes to do this.
PS:
I hope my suggestion is correct. Can you confirm?
Hi @CloudMonkey ,
Add a little bit,https://ssbi-blog.de/blog/technical-topics-english/how-to-identify-measures-not-used-in-your-pbix-fi...
https://www.sqlbi.com/articles/capturing-power-bi-queries-using-dax-studio/
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I think you can do this using "DAX Studio". It can be downloaded here..
Or
https://www.sqlbi.com/tools/dax-studio/
Once you download and install it, do the following in DAX Studio. Your power bi pbix file should be kept open in Power BI Desktop before opening DAX Studio.
Step 1:
After opening the pbix file in Power BI Desktop, Go to File->New in DAX Studio.
Step 2:
A "Connect" dialog will appear. Select "PBI / SSDT Model" radio button and select the pbix file name from the drop down list. It will show all the pbix file that are currently open.
Step 3: Click "Connect" button.
Step 4:
Once you connect all the tables and measures in your data model from the pbix file will be listed on the left side.
Step 5:
Right-Click the table name that you want to check for dependencies and select the "Show Objects That Reference Table" option from the context menu that appear.
Step 6:
Step 5 will create a query and when you click run from the ribbon, it will list all the dependent tables, relationships, measures etc... that dependents on the selected table in "Query Result" tab.
Though it looks complicated, it won't even take 2-3 minutes to do this.
PS:
I hope my suggestion is correct. Can you confirm?
Didn't realize I could do this in Dax Studio. Not a suprise of course as I love that tool. Thanks! Really helped my efforts.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |