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

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

Reply
Anonymous
Not applicable

blank value replace it from another column value

I have the two table Global Column and  local BOM. i have created  below measure to get ReferenceBom value. its return the correct vallue . I want replace  the blank value  in reference bom measure with TYPE OF CHECK column value. How to modify the below measure .please any one help me . 

 

 

Reference BOM-Local =
CALCULATE (
    FIRSTNONBLANK ( 'local BOMs'[Reference BOM], 0 ),
    FILTER (
        ALL ( 'local BOMs' ),
        'local BOMs'[item code] = 'global BOM '[item code]
    ))

 

 

 

 

global BOM:

 

  Item Code             Item Type (Product Variant BOM)                                     TYPE OF CHECK 

  FA009644.07                60.T634                                                                            NULL

 FA009644.07           FA009644.07-SHIPPINGCASE-CAS                                      CASE-70

  FA009644.07          FA009644.07-BUNDLEPAPER-OUT                                      PAPER-63

                                  

 

 

local BOMs :

 

Item Code                    ReferenceBOM                   

  FA009644.07                60.T634

 

 

Expected Output:

 

  Item Code             Item Type (Product Variant BOM)          ReferenceBom                           TYPE OF CHECK 

  FA009644.07                60.T634                                                 60.T634                                       NULL

 FA009644.07           FA009644.07-SHIPPINGCASE-CAS            CASE-70                                     CASE-70

  FA009644.07          FA009644.07-BUNDLEPAPER-OUT            PAPER-63                                    PAPER-63

1 ACCEPTED SOLUTION
sebouier
Frequent Visitor

Try this ?

 

ReferenceBom = IF(ISBLANK(TYPE OF CHECK), [Item Type], [TYPE OF CHECK])

 

View solution in original post

1 REPLY 1
sebouier
Frequent Visitor

Try this ?

 

ReferenceBom = IF(ISBLANK(TYPE OF CHECK), [Item Type], [TYPE OF CHECK])

 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Users online (2,611)