Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

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!]

 

2022-01-24 16_15_20-Test4 - Power BI Desktop.jpg

 

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: 

3.jpg

 

Matrix:

Logo - Column1:HatKontroverse - Column2:HatKontroverse

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

4.jpg

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:

5.jpg

 

 

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

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/[...]"
)

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

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/[...]"
)

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.