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
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
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.