Forum Discussion

ShevKov's avatar
ShevKov
New Member
5 years ago
Solved

Combine 2 measures

Hi all, I have created two measures that work. Now my goal is to combine these into 1 measure with the rule being: if for a certain period (date) measure 1 does not return anything, the results from measure 2 should be displayed.

 

Is there any equivalant for IF(ISBLANK( that can be used for this situation?

Two measures are based on same column but with different filter:

Measure 1 = CALCULATE(SUM('Table'[column]),'Table'[column2] = FALSE())

Measure 2 = CALCULATE(SUM('Table'[column]),'Table'[column2]= TRUE())

 

If more information about the case is needed, please ask.

Any help is very welcome, thank you!

 

PS: any other topics on this subject were not applicable.

  • ShevKov , if, at any moment, one of [Meaure 1] and [Measure 2] is blank, you might simply combine them this way,

    Measure Combined = [Meaure 1] + [Measure 2]

3 Replies

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

    ShevKov , if, at any moment, one of [Meaure 1] and [Measure 2] is blank, you might simply combine them this way,

    Measure Combined = [Meaure 1] + [Measure 2]
    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi, 

      however you can't do that if you try to sum (not total summation) measure from different tables. 

      how can you solve that?