Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
zjdoonj
Contributor III
Contributor III

Qlik Sense - Gap between filters

Hi Friends,

I created few filters in qlik sense app and placed them vertically in filter pane. There is a small gap between each filter and my requirement is to remove that gap. Is that possible? please see picture below.

zjdoonj_0-1630009447179.png

 

Thanks for the help.

Regards

19 Replies
Clever_Anjos
Employee
Employee

Add a multi-kpi to your sheet use this code below in "Styles" from that object

 
Clever_Anjos
Employee
Employee

zjdoonj
Contributor III
Contributor III
Author

Hi Anjos,

Multi-kpi only accept one dimension and I have almost 15 dimension to create filters. Can please explain a bit more how remove the space between filter objects and if it is possible in the app? or this is some thing achievable via customization?

Clever_Anjos
Employee
Employee

No, keep your filter as it is now.

Add a multikpi with =1 as expression and add that code to the style and see the magic happening.

You will be injecting CSS code into your sheet. You can play with every object you want

 

zjdoonj
Contributor III
Contributor III
Author

I did as you mentioned but nothing happened. Please see below screen shot. I still see space between the filters.

zjdoonj_0-1630014833974.png

 

Clever_Anjos
Employee
Employee

Add =1 as the measure for the multikpi

zjdoonj
Contributor III
Contributor III
Author

Yes but this doesnt remove the gap completely and there is still a small gap attaching the screen shot. Can we remove the gap completely?and also  how to hide the multi-kpi from sheet because my user dont want to see this extra component? Thanks

zjdoonj_0-1630066423981.png

 

 

Clever_Anjos
Employee
Employee

This will hide the kpi when you are not in edit mode 

.qv-object-qlik-multi-kpi { display:none; }
.qv-mode-edit .qv-object-qlik-multi-kpi { display:flex; }

Clever_Anjos
Employee
Employee

And this would make the gap narrower

.qv-collapsed-listbox .qv-state-count-bar {
height: 0px;
}