- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
COUNTBLANK function issues
I have a COUNTBLANK function in my Power BI to show the columns where someone has forgotten to put in a number of details but it counts where there is an empty entry in the name column. For some reason this isn't pulling through any numbers. Presumably because other columns next to it are blank too.
What is the best way to highlight when data is missing in an entry so it can be fixed as quick as possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous - I would use Clean and Trim operations in Power Query to get rid of any stray characters. You could also try:
Count Blanks =
COUNTROWS(FILTER(ALL('Table'),ISBLANK([Column]) || [Column]="" || LEN([Column])<3))
Also, why are you not flagging rows with missing data versus columns?
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous , is it blank or have some space.
countrows(filter(table,isblank(Table[Column]) || Table[Column]= "" || Table[Column] = " " ))
or try to use trim
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview. ✨
️ November 12th-14th, 2024
Online Event
Register Here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@amitchandak Annoying that function still returns (Blank) meaning there is nothing to count, however, I can see there is a space in my data column still.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous ,
Have you resolved this issue? Is the answer above helpful? If you still need help, can you please share more details, like your sample data and your expected results. Thanks!
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous - I would use Clean and Trim operations in Power Query to get rid of any stray characters. You could also try:
Count Blanks =
COUNTROWS(FILTER(ALL('Table'),ISBLANK([Column]) || [Column]="" || LEN([Column])<3))
Also, why are you not flagging rows with missing data versus columns?
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Microsoft Fabric Community Conference 2025
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
126 | |
79 | |
59 | |
58 | |
44 |
User | Count |
---|---|
181 | |
121 | |
82 | |
70 | |
54 |