Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
I think my question is quite silly but I will post anyways.
I have 30+ tables with 100+ columns in each table, due to the nature of the project we had to get all columns at first and then since we didn't know which columns to use at first.
Now that the project is at an end, I would like to rewrite my SQL code in data source so I can import only used columns. The exercise is hard since I need to check all formulas etc to know which columns have been used.
However, I am wondering if there is a way to "detect" only columns that are used or the inverse (detect columns that are not used) in Power Query or such.
Regards
You can also use DAX Studio to connect to your published dataset (if you have Premium), and "View Metrics" and look at the Temperature column to see how much it is used.
Pat
Yes, it is possible to detect the columns that are used or not used in Power Query. Here are the steps you can follow:
Expression.Dependency([Column2]) = {#"Column1"}
Alternatively, you can use the "Formula Firewall" feature in Power Query to detect any formulas that reference columns that are not present in the data source. This can help you identify any columns that are not used.
User | Count |
---|---|
98 | |
76 | |
75 | |
48 | |
26 |