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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.