Skip to main content

Power BI

Needs Votes

Option to change BLANK to 0 in visuals

Vote (136) Share
Joost ten Kattelaar's profile image

Joost ten Kattelaar on 19 May 2016 20:01:33

Right now, if you plot a measure that has blank values as a line-graph, you get a gap. This makes sense in some cases, but it would be nice to have an option in the visual to change blanks to zero's (this goes also for other visuals, such as cards where you might want to show revenue of 0 instead of blank).

I know you can check in your measure with DAX if the value is 0, but it would be easier if it is a checkbox in the visual.

Comments (9)
Joost ten Kattelaar's profile image Profile Picture

b1bb118e 7bab-4c43-83d7-230079edbc57 on 05 Jul 2020 23:39:59

RE: Option to change BLANK to 0 in visuals

'+1

Joost ten Kattelaar's profile image Profile Picture

55ddfdfc e939-4f64-adf6-30b91147f24c on 05 Jul 2020 23:39:57

RE: Option to change BLANK to 0 in visuals

Why is there no way to change a BLANK card to 0.......

Joost ten Kattelaar's profile image Profile Picture

a3309361 99be-ea11-a812-000d3a8ddfb2 on 05 Jul 2020 23:14:41

RE: Option to change BLANK to 0 in visuals

I should not have to do this check at the DAX layer, it should be done in the presentation layer. Why make users do stupid DAX tricks, I would prefer a check box just like Excel pivot tables.

Joost ten Kattelaar's profile image Profile Picture

d157cd44 ddfd-e811-a958-000d3a4f36ce on 05 Jul 2020 23:12:08

RE: Option to change BLANK to 0 in visuals

a lot of basic features are missing in power BI

Joost ten Kattelaar's profile image Profile Picture

d157cd44 ddfd-e811-a958-000d3a4f36ce on 05 Jul 2020 23:12:08

RE: Option to change BLANK to 0 in visuals

I need to use another word in different language rather than English , we don't have such word

Joost ten Kattelaar's profile image Profile Picture

ec9cfdf0 53d7-4183-a259-c0f4ac1ef01a on 05 Jul 2020 22:58:49

RE: Option to change BLANK to 0 in visuals

Amazing idea!

Joost ten Kattelaar's profile image Profile Picture

a568a3e6 e108-4f91-b269-5151c88e52a0 on 05 Jul 2020 22:45:23

RE: Option to change BLANK to 0 in visuals

Also, my line chart ignores all the filters, if I try to workaround the problem by doing IF(ISBLANK(MyMeasure), 0, MyMeasure).

Joost ten Kattelaar's profile image Profile Picture

3de43ad2 fe93-4114-992a-f29b5a9dd484 on 05 Jul 2020 22:41:12

RE: Option to change BLANK to 0 in visuals

What is the workaround ?

Joost ten Kattelaar's profile image Profile Picture

7b030804 2a8a-4cba-8acf-773a7d81d3b3 on 05 Jul 2020 22:29:06

RE: Option to change BLANK to 0 in visuals

I've managed to use the workaround, but I think this is quite an important feature missing from Power BI even though it is available in Pivot Charts in Excel's PowerPivot.

The exact functionality I'm looking for is on the Pivot Chart "Select Data..." option, under "Hidden and Empty Cells".

Very useful for plotting time series against a large date dimension, where some measures are blank for certain time periods!