简体   繁体   中英

How to get the NA rate by column in Tableau Desktop?

I try to get a simple thing with Tableau, the % of null value by column of my dataset.

But each time i put my dimensions on my columns it displays all of possible values of this dimension, it's impossible to make the python's equivalent of "dataframe.isna().sum()/len(dataframe)".

By default Tableau visualizes all possible values.

Assuming you have this kind of data:

ID  Category
1   A
2   B
3   C
4   D
5   E
6   F
7   
8   
9   
10  

You can get your Rate with a simple Calculated field:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM