Forum Discussion

MiguelSaldana77's avatar
MiguelSaldana77
Icon for Resolver I rankResolver I
8 years ago
Solved

summation Total on Colum

Hi,  I have a problem with a total of the Visual Matrix

 

I have a table that calculate the result of a colum ("PO Importe") , but I don´t want that this formula applies to the TOTAL. The TOTAL must be the summation of the column. There is any way to do this?   See the image 

 

  • Hi MiguelSaldana77,

     

    You should use a SUMX to make the calculations on this:

     

    Total =
    IF ( HASONEVALUE ( Table[Obra] ); [Po Importe]; SUMX ( Table; [Po Importe] ) )

    Should work as expected.

     

    Then replace the PO Importe by this one.

     

    Regards,

    MFelix

3 Replies

  • Hi MiguelSaldana77,

     

    You should use a SUMX to make the calculations on this:

     

    Total =
    IF ( HASONEVALUE ( Table[Obra] ); [Po Importe]; SUMX ( Table; [Po Importe] ) )

    Should work as expected.

     

    Then replace the PO Importe by this one.

     

    Regards,

    MFelix

    • MiguelSaldana77's avatar
      MiguelSaldana77
      Icon for Resolver I rankResolver I

      Thanks MFelix , but was enought with a simple    SUM()  of the calculated Measure

  • v-piga-msft's avatar
    v-piga-msft
    Icon for Resident Rockstar rankResident Rockstar

    Hi MiguelSaldana77,

     

    Have you solve your problem?

     

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

     

    If you still need help, please share a dummy pbix file which can reproduce the issue, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

     

    Best Regards,

    Cherry