Power BI dealing with N/As

gazpage

Active Member
Joined
Apr 17, 2015
Messages
393
Hi all,

My dataset includes a column for the size of a property (in square metres). For a minority of the properties, this column shows an N/A. I need to use this column in measures, for example total property size, and then segment in a visual by say region.

In order to make that work I need to convert the column in Get Data to a number; this turns the N/As into error. At first I replaced these N/As with 0 and this worked fine for SUM etc. However I also need to stratify the properties into size buckets and these properties should go in an N/A bucket rather than the 0 - 50 sqm bucket.

Any suggestions? Should I duplicate the column and have one for measures and one for stratification?

Thanks
Gary
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hmm, so I would put everything in then check everything for blank when counting etc? It still seems to count the rows with blanks.
 
Upvote 0
Gary,

Generally, a null is a better replacement for N/A than 0.

You probably already know about it, but for stratification (segmentation) have you considered the static segmentation method described here, but checking first for ISBLANK ( [PropertySize] ) to assign "N/A" to the stratification bucket?

Best regards,

Tom
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top