Forum Discussion

jeoosma's avatar
jeoosma
Helper II
8 years ago
Solved

calculated field

Hi. I don't know if it is possible make what I want. In a page I have two table which origin is two different table. The two table have some rows and the total. I would create a field that has the di...
  • Anonymous's avatar
    Anonymous
    8 years ago

    jeoosma,


    You screenshot is not clear.

    Please try the DAX below.

    TableDifference = CALCULATE(SUM(CdmEtZKenR[Importo]);ALL(CdmEtZKenR)) - CALCULATE(SUM('CdmEtZKenR(2)'[Importo]);ALL('CdmEtZKenR(2)'))



    Regards,
    Lydia

  • jthomson's avatar
    jthomson
    8 years ago

    It's probably a filter issue, I can see you're trying to filter on just 2018 on that visual but we have no idea what you're doing on the other visuals, that we're using ALL is going to override it