cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DavidPorTodos
Helper I
Helper I

Slicer settings "Between" - include blank values

Hi,

I am looking for a solution to a small problem I am currently facing. 

I have a slicer where decimal numbers can be filtered, the slicer is set on "Between" so that the user can import a start value and an end value. The column where the filter applies has many null values as well and these values are unfortunately not taken into account when using the between setting. 

Is there a solution?

thank you

DavidPorTodos_0-1684234429839.png

 

2 REPLIES 2
v-rongtiep-msft
Community Support
Community Support

Hi @DavidPorTodos ,

Please try to use  Whole Numbers and then custom format the number by pasting the following into the Format field under the Column Tools menu item:

0.#\%;(0.#\%)

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-rongtiep-msft 

 

Thanks a lot for your prompt answer. Here some sample. I tested your ssolution and have some doubts/issues 

IDAreaPrice
1310
2625
32,532
4945
52325
66421
756,710
823,515
93265
1030,525
11 65
12 45
14 16

 

Let me explain what I did first: I uploaded the same file twice and created a Dimension Area to relate the 2 tables and being able to "filter" them both through the same slicer. This is as well what I need in my original file.

In one table I applied your suggestion and now the data type is whole number with Format 

0.#\%;(0.#\%)

I left the area column of the other table as decimal.

Here the result:

DavidPorTodos_1-1684492981770.png

 

- When using your format the data in the table will be shown as %, I have to overcome this issue since my user needs to see the proper data type in the Report table.

- As you see from the picture when using your solution I am able in the slicer (which uses the DimensionArea values Fromatted as decimal) to insert the 0 and have the table showing nnull values as well. This doesn't happen in the not formatted table, there those null values are not taken into account (see price average)

- Data model: the relationship between the dimension and facts is many to many, and must be it if I want to create any. Is there a chance to change it and have it one to many when not Text and with null values?

DavidPorTodos_2-1684493203970.png

 

Thans a lot for your support

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors