# Showing All Facet values irrespective of the selections in the other facets

**URL:** <https://discuss.elastic.co/t/showing-all-facet-values-irrespective-of-the-selections-in-the-other-facets/290830>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [December 2, 2021, 9:09pm UTC](https://discuss.elastic.co/t/showing-all-facet-values-irrespective-of-the-selections-in-the-other-facets/290830 "2021-12-02T21:09:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mecadamia.nut](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Mecadamia.nut](https://discuss.elastic.co/u/Mecadamia.nut)\
**Post date:** [December 2, 2021, 9:09pm UTC](https://discuss.elastic.co/t/showing-all-facet-values-irrespective-of-the-selections-in-the-other-facets/290830/1 "2021-12-02T21:09:49Z")

</div>

i have two facets and i'm declaring them as disjunctive. the values in the facets show up fine as long as i'm selecting the options in the facet. when i start selecting the options in the second facet, some of the values in the first facet started disappearing. is there a way to show the values irrespective of the selections in the other widgets?

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [December 3, 2021, 2:06pm UTC](https://discuss.elastic.co/t/showing-all-facet-values-irrespective-of-the-selections-in-the-other-facets/290830/2 "2021-12-03T14:06:29Z")

</div>

> some of the values in the first facet started disappearing

This is because those facet options would have 0 results associated with them. It's _usually_ unhelpful to show users options that when clicked, would result in a "No results" screen.

---

<div class="post-metadata">

**Author:** ![Mecadamia.nut](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Mecadamia.nut](https://discuss.elastic.co/u/Mecadamia.nut)\
**Post date:** [December 15, 2021, 4:16am UTC](https://discuss.elastic.co/t/showing-all-facet-values-irrespective-of-the-selections-in-the-other-facets/290830/3 "2021-12-15T04:16:42Z")

</div>

The options keeps disappearing as soon as you make the selection. user cannot select multiple options in the same facet, even though i have declared the facets as disjunctive. They don't disappear only in the first facet. as soon as i started making selections in the different facet, it keeps disappearing. it will be frustrating to the user as they know they can see the selections, but cannot select them one after another.

```auto
              facets: {
                language: { type: 'value', size: 100 },
                regioncountrylist: { type: 'value', size: 100 },
                docClass: { type: 'value', size: 10 },
                docsubClass: { type: 'value', size: 100 },
                business_line: { type: 'value', size: 100 },
                reagentlist: { type: 'value', size: 100 },
                equipmentlist: { type: 'value', size: 25 },
              },
              disjunctiveFacets: ['docClass', 'docsubClass', 'business_line', 'language', 'regioncountrylist'],
              conditionalFacets: {
                docClass: filters => areFilterSelected(filters, ["regioncountrylist", "language"]),
                docsubClass: filters => areFilterSelected(filters, ["regioncountrylist", "language", "docClass"]),
                business_line: filters => areFilterSelected(filters, ["regioncountrylist", "language", "docClass"]),
                reagentlist: filters => areFilterSelected(filters, ["regioncountrylist", "language", "docClass"]),
                equipmentlist: filters => areFilterSelected(filters, ["regioncountrylist", "language", "docClass"])
              },

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 12, 2022, 4:16am UTC](https://discuss.elastic.co/t/showing-all-facet-values-irrespective-of-the-selections-in-the-other-facets/290830/4 "2022-01-12T04:16:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
