Check if only slicer is selected

  • Check if only slicer is selected

    Posted by DSC Communities on December 19, 2022 at 8:12 am
    • Jaroslaw Danda

      Member

      December 19, 2022 at 8:12 AM

      Hello,
      I’m struggling with following topic.
      I need to identify if value in slicer is selected but don’t look at table grouping.

      For my calculation I need to take Measure [Wo/Type] only when slicer is set to ALL, but when Slicer has any value chosen I need to use [W/Type] measure.


      Unfortunately ISFILTERED() function is used for calculation when table values are grouped by the same filed as field used in slicer.
      Here [__IsTypeFiltered = ISFILTERED(‘Table'[TYPE])]

      Do you have any idea how to handle with that

      ——————————
      Jaroslaw Danda
      ——————————

    • Vilmar Santos

      Member

      December 19, 2022 at 11:03 PM

      Veja se o anexo ajuda.

      Foi criado uma segunda tabela dimensão para Cidade.

        • A [Medida] vai mudar para [Venda] somente quando a segmentação de dados Cidade estiver definida como TODAS.
        • Quando a segmentação de dados tiver algum valor escolhido, vai mudar para [Qtde].

        ——————————
        Vilmar Santos
        ——————————
        ——————————————-

      • Jaroslaw Danda

        Member

        December 21, 2022 at 2:56 AM

        Este es un recorrido muy inteligente que (lo que es mƔs importante) funciona.
        Muchas gracias Vilmar

        ——————————
        Jaroslaw Danda
        ——————————
        ——————————————-

      DSC Communities replied 2 years, 10 months ago 1 Member · 0 Replies
    • 0 Replies

    Sorry, there were no replies found.

    The discussion ‘Check if only slicer is selected’ is closed to new replies.

    Start of Discussion
    0 of 0 replies June 2018
    Now

    Welcome to our new site!

    Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!