Forum Discussion

Albawani's avatar
Albawani
Frequent Visitor
4 years ago

Sum of Measure values

Hi,

Is there any easy way to have a total sum for the measured values at the bottom of the table?

 

15 Replies

  • bcdobbs's avatar
    bcdobbs
    Icon for Community Champion rankCommunity Champion

    If you click into the visual options for the matrix. You should be able to turn subtotals and totals on. Surprised though it's not on by default.

    • Albawani's avatar
      Albawani
      Frequent Visitor

      unfortunately, i couldn't find the total or subtotal !!

      • bcdobbs's avatar
        bcdobbs
        Icon for Community Champion rankCommunity Champion

        Few questions.

         

        Is it a matrix or a table?

        Are you using the preview visual pane?

  • Albawani 

    First, check if the column that you are placing as values is in number or currency format. Then, you can turn on the total as follows for matrix visual.

     

    • Albawani's avatar
      Albawani
      Frequent Visitor

      I couldn't find where to check the value type ! is it normal with Matrix table ?!

      since it;s a measure value, would you suggest casting the measure as currency format ?

       

  • bcdobbs's avatar
    bcdobbs
    Icon for Community Champion rankCommunity Champion

    Have to say, a bit confused! Can you send a screen shot of your format pane?

      • bcdobbs's avatar
        bcdobbs
        Icon for Community Champion rankCommunity Champion

        Does your measure always return either a number or a blank? Can you send it's definition over. 

        With the matrix selected click on the paint roller icon and send a screen shot of what is then displayed.

         

        lastly with the model selected if you click on modelling at top what format is displayed for it?

  • PaulDBrown's avatar
    PaulDBrown
    Icon for Community Champion rankCommunity Champion

    Add a new meaure:

    Total = [measure 1] + [measure 2] + [measure 3]…

    • Albawani's avatar
      Albawani
      Frequent Visitor

      I did this but it's unprofessional 

       

      • PaulDBrown's avatar
        PaulDBrown
        Icon for Community Champion rankCommunity Champion

        If the values in the matrix are different measures, you need a new measure for the total of all measures. It's not "unprofessional "; it's how DAX works.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Albawani ,

    Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

    Best Regards