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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.