Forum Discussion
Data quality check
Hello,
I'm creating a data quality dashboard at the moment and what i want to have is some kind of a visual that shows the amount of null values and whitespaces in a column.
I really dont know how to use the daxformula for this. Could anyone help please?
Kind regards,
Ramosdabos
- Anonymous4 years ago
I think the most easy thing for you to do is the following then:
Make a card, add the column you want to count values for. Right click on the field and set the values to "Count"
Add the same column as a filter to the card, here you can choose which values you want to count.
/M_illum
6 Replies
- AnonymousNot applicableYou could make a measure like this: blancs = COUNTBLANK(Table[Column])Create a card and add the measure as the valueCheers
M_illum- Ramosdabo221Regular Visitor
Thanks for your reaction!
Does this also count the field in my dateset that are empty with spaces?
Kind regards,
Ramosdabos
- AnonymousNot applicable
I would deal with empty spaces in the query editor. This could be done by the trim function Text.Trim - PowerQuery M | Microsoft Docs
It removes extra spaces, and rows containing only a space will be counted as blancs- Ramosdabo221Regular Visitor
I dont want to edit the dataset or anything. I just want to visualize the state of the dataset. So i want to show in some card visuals
- the amount of rows- the amount of null values
-the amount of empty values- AnonymousNot applicable
I think the most easy thing for you to do is the following then:
Make a card, add the column you want to count values for. Right click on the field and set the values to "Count"
Add the same column as a filter to the card, here you can choose which values you want to count.
/M_illum