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.
Hi,
I have a table with 190 columns and I want to create a summary table with the number of blanks in each columns.
So the result would be:
Col | countblanks()
-------------------------
col1 | 0
-------------------------
col1 | 24
-------------------------
... | ....
-------------------------
col190 | 33
I have tried =SUMMARIZE( <table>, <groupBy_columnName>[, <groupBy_columnName>]…[, <name>, <expression>]…) with COUNTBLANK() but i dont want to have to list out all 190 columns.
Any clue how to quickly generate a new table that contains summarizing values of ALL the table's clolumns without having to explicitly list them?
Thank you!
Solved! Go to Solution.
Hello,
There are a couple of ways you could approach this, but I have gone through with a solution following your approach using DAX to form a new table rather than Power Query or other method.
Firstly I created a sample data table like below for this example:
Per this you want to count the blanks for each distinct col. So for "A", there would be 1 blank as an example.
My next step is to create a new table with a distinct list of "Col".
I did this using the following DAX.
I am hoping this is helpful, I have also uploaded my PBIX file at the link below should you wish to explore my solution further.
Shoot me a message if you need further help!
Hello,
There are a couple of ways you could approach this, but I have gone through with a solution following your approach using DAX to form a new table rather than Power Query or other method.
Firstly I created a sample data table like below for this example:
Per this you want to count the blanks for each distinct col. So for "A", there would be 1 blank as an example.
My next step is to create a new table with a distinct list of "Col".
I did this using the following DAX.
I am hoping this is helpful, I have also uploaded my PBIX file at the link below should you wish to explore my solution further.
Shoot me a message if you need further help!
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 |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |