Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
2 years ago
Solved

"Inverted" Segmenter

Is it possible that, by default, a chart appears empty until one option (or more) is selected in a segmenter?

15 Replies

  • What I'm trying to do is a bit more complicated, but I've replicated the video example as a test and it doesn't work for me:

    The table I'm starting from:

    The measure that is used as a filter:

    The result of filtering:

    As you can see, all the values keep appearing.

  • Yes, I see that it works, and that in the YouTube video as well. The problem is that in my data model it doesn't, and I don't understand why.

    • Ritaf1983's avatar
      Ritaf1983
      Super User

      Hi Syndicate_Admin 
      Please share a link to your dummy pbix.
      I don't think that it is possible to understand what is going wrong without looking at it.

    • Ritaf1983's avatar
      Ritaf1983
      Super User

      Hi Syndicate_Admin 
      It didn't work because you used the same table for the graph and the slicer.
      is filtered on the graph in this scenario is always 1, because of the legend filtering the values.
      You should add dimension for the slicer with unique values.

      Use it only for the slicer

      On the graph use your original table.

      update the dax for the filter to :

      subestilo_filtrado = INT(ISFILTERED('Table for slicer'[nombre_subestilo]))
      The pbix is attached
      If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
  • Would it be possible to manage the graph with both segmenters at the same time? Mark one substyle in the first and another in the second and have both visible in the chart.

  • By the way, why do you press the style that you press always get a gray basal line corresponding to "Electropop"?

    • Ritaf1983's avatar
      Ritaf1983
      Super User

      Sorry, I don't understand what are you trying to achieve.

  • Well, what you see in the photo, there is always a gray line corresponding to that sub-style, "Electropop", although the one that has been marked is a different one.

  • What I intended, which I suppose is not possible, is to use two different segmenters: one with the 10 most common substyles, and one with the rest. In this way, the user can quickly access the top 10 and, if they wish, can compare them with others on the list of the least common. And also that the graph appears empty at first to avoid an overload of lines.