Navigation

    Communauté Digdash

    • S'inscrire
    • Se connecter
    • Recherche
    • Catégories
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes

    NON RÉSOLU Create a calculated measure depending on two dimensions

    Studio
    2
    4
    290
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • M
      Madeleine dernière édition par

      Hi,

      I need your help.

      I would like to create a calculated measure depending on two dimensions: site and ID

      This works in a table by adding the Site and the ID dimensions but when I remove the two dimensions the value of the calculated measure is changing.
      I would like to use this calculated measure inside a flow type text.

      Thank you in advance

      GregoryBiraud 1 réponse Dernière réponse Répondre Citer 0
      • GregoryBiraud
        GregoryBiraud Expert DigDash @Madeleine dernière édition par

        Hi @madeleine,

        We need more details about your calculated measure

        Could you provide a screenshot or the detail of what you need to do ?

        Thanks
        Gregory

        Grégory Biraud

        M 1 réponse Dernière réponse Répondre Citer 0
        • M
          Madeleine dernière édition par

          Hi Gregory,

          I created a calculated measure

          Nb jours disponibles

          var x = <Capacité(max)>;
          var y = <Prévu annuel(max)>;

          if ( ( x-y ) < 0 ) {
          return 0;
          } else {
          return (x-y);
          }

          the result is 0 , please see screenshot "Nb jours disponibles 1"
          Nb jours disponibles 1.PNG

          when I insert Personne and Site, and add an Overall with aggregation sum the result is ok
          Overall 2.PNG

          Result ok.PNG

          If I remove Site and Personne the result is 0

          Merci beaucoup pour votre aide,
          madalina

          1 réponse Dernière réponse Répondre Citer 0
          • M
            Madeleine @GregoryBiraud dernière édition par

            @gregorybiraud

            Hi Gregory,

            please see the calculated measure and some screenshots.

            Bonne journee,
            Madalina

            1 réponse Dernière réponse Répondre Citer 0
            • 1 / 1
            • Premier message
              Dernier message
            • Accueil
            • Webinaires
            • Documentation
            • Interviews
            • Vidéos tutos