Forum Discussion

cmckinney's avatar
cmckinney
Icon for Helper IV rankHelper IV
6 years ago

Measures applied to a matrix.

Is it possible for a user to create a measure that only uses the information that is currently displayed on a matrix?

4 Replies

  • Hi cmckinney ,

     

    Measures are based on context, meaning that the results are calculated using the information on the visualizations, filters, slicers and so on.

     

    So the answer to your question is year measures can be created based on information only presented in the matrix.

    • cmckinney's avatar
      cmckinney
      Icon for Helper IV rankHelper IV

      MFelix Thank you for your response.

       

      This confuses me for this reason,

       

      In the following I have a DAX expression that should make it so that the first line in the matrix's flag set to 0, but for some reason it is set to one, and I am not sure why. Is there a problem with my DAX?

       

      • MFelix's avatar
        MFelix
        Icon for Super User rankSuper User

        Hi cmckinney ,

         

        Just looking at the image you send believe that you don't have the information correctly defined.

         

        The information you are pointing out "Invalid Premises" should give 0? Can you please clarify what is your final result and the wya the calculation should be done?

         

        If you can share a sample file would be great.