Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Anonymous
Not applicable

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 @Anonymous 

 

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.