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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.