cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Create Table Showing Which Columns in Another Table Contain Data

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.
Mariusz Repczynski

 

View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: Create Table Showing Which Columns in Another Table Contain Data

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.
Mariusz Repczynski

 

View solution in original post

Highlighted
Regular Visitor

Re: Create Table Showing Which Columns in Another Table Contain Data

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! 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors