cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 V
Super User V

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 V
Super User V

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
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

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!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors