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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Tontaube2
Helper IV
Helper IV

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors