Forum Discussion
Create Table Showing Which Columns in Another Table Contain Data
We are trying to clean up our overgrown, over-complicated CRM (dynamics) and I would like to have some empirical proof as to which fields are actually being utilized. I am therefore seeking to create a new table that would iterate over the columns of another table to make a new three column table containing column name, the number cells with data and the number of cells without data (null/blank).
This would allow me to visually see which fields are being utilized and which are not.
I have been able to do it within the same table by adding columns, but there are 100s of columns in each entity's table, so it's tedious to do it this way. Does anyone have thoughts on a way to achieve this?
Thank you.
Hi jnichols
You can use Table.Profile( #"table name" ) M function in Query Editor for this or you can use UI as Adam explains in the link below.
https://www.youtube.com/watch?v=WN1cvJGutT8
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
2 Replies
- MariuszCommunity Champion
Hi jnichols
You can use Table.Profile( #"table name" ) M function in Query Editor for this or you can use UI as Adam explains in the link below.
https://www.youtube.com/watch?v=WN1cvJGutT8
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
- jnicholsRegular Visitor
Well it took me way too long to figure out how to create a new table using this function, but I've got it now.
Thank you very much for your help - this was great!