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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.