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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
admin11
Memorable Member
Memorable Member

How to field the Blank with "No Blank" ?

Hi All,

I have a field name = BRAND_SAP :-

admin11_0-1655282154833.png

I also have a field name = BRAND_5 :-

admin11_1-1655282206180.png

i Create a expression to combine above 2 field into 1 field  :- 

BRAND_SAP_C = 'SALES'[BRAND_SAP] & " " & 'SALES'[BRAND_5]
it return below :-
admin11_2-1655282318360.png
May i know how to fill the Blank with "No Brand" ?
 
Paul Yeo
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

@admin11 Ok, try this:

 

BRAND_SAP_C =
    IF(
        'SALES'[BRAND_SAP] & " " & 'SALES'[BRAND_5] = " ",
        "No Brand",
        'SALES'[BRAND_SAP] & " " & 'SALES'[BRAND_5]
    )

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@admin11 , try this:

BRAND_SAP_C =
    IF(
        ISBLANK('SALES'[BRAND_SAP] & " " & 'SALES'[BRAND_5]),
        "No Brand",
        'SALES'[BRAND_SAP] & " " & 'SALES'[BRAND_5]
    )

@Anonymous 

Thank you for your fast reply. But your expression still not display "No Brand"

admin11_0-1655282961366.png

 

Anonymous
Not applicable

@admin11 Ok, try this:

 

BRAND_SAP_C =
    IF(
        'SALES'[BRAND_SAP] & " " & 'SALES'[BRAND_5] = " ",
        "No Brand",
        'SALES'[BRAND_SAP] & " " & 'SALES'[BRAND_5]
    )

 

@Anonymous 

Thank you very much for your help.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.