Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Could someone explain this behavior?

I have a matrix. Some companies have problems. I display an ExclamationMark only for those 2 companies which actually have problems if I drag "Column1:HatKontroverse" into the matrix.

 

 Matrix:

Logo - Column1:HatKontroverse - Column2 [ignore for now]

            [is correct]                          [is wrong!]

 

 

However, if I try to get this via measure, it does not work as expected: If I drag my measure containing an "IF" into the matrix, erroneously an ExclamationMark is displayed for ALL 3 of the companies!

 

Measure: 

 

Matrix:

Logo - Column1:HatKontroverse - Column2:HatKontroverse

           [see pic1: is correct]            [is wrong!]

 

How do I formulate the Measure correctly?

What "don`t I get"? I notice "Values: FirstColumn1..." vs. No-such-thing for my measure...

 

Within the data model it is like this:

 

 

 

 

  • A text string inside quotes is never blank.

     

    I think you intend to write something more like this:

    Column2 =
    IF (
        SELECTEDVALUE ( Auswertungen[Basisinfo:HatKontroverse] ) <> BLANK (),
        "https://www.dropbox.com/s/[...]"
    )

1 Reply

  • A text string inside quotes is never blank.

     

    I think you intend to write something more like this:

    Column2 =
    IF (
        SELECTEDVALUE ( Auswertungen[Basisinfo:HatKontroverse] ) <> BLANK (),
        "https://www.dropbox.com/s/[...]"
    )