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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Bodhi314
New Member

Measure shows value in table, will not sum elsewhere? __ Updating with details

Fairly new user (6 months focused) - so please help me learn - thank you!

 

I created a measure that sums up the parts in a BOM and filters the values by two pieces, source of parts and billing dept.

 

The correct values display in a table by order number, but am unable to utilize the value for a summation by billing dept.

 

Can someone help me get the table output in usable form for calculations?

 

The measure shows values correctly in table - all three tables are connected:

CUSTOM =
VAR Qty_Price_dollar =
        CALCULATE(
            SUM(Parts[Parts_LastOriginatingCost])* SELECTEDVALUE( BOM[Parts_Qty])
        )
RETURN
CALCULATE(
   Qty_Price_dollar,
    FILTER(OrderDetails,OrderDetails[OrDetails_BuildShop_Code] = "XX"),
    FILTER( Parts, Parts[Parts_Flag_Floorstock_Custom])
    )
1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

One of the problems with the measure is that once the variable is evaluated, it is a fixed value.  The part in the return clause will not do anything.

--

Also, If you want help from the community, you should read the 'How to get your question answered' post.  This question is lacking a lot of detail (sample data, desired result, relationships.......)

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

One of the problems with the measure is that once the variable is evaluated, it is a fixed value.  The part in the return clause will not do anything.

--

Also, If you want help from the community, you should read the 'How to get your question answered' post.  This question is lacking a lot of detail (sample data, desired result, relationships.......)

Thank you - my first time here - I'll read as you suggest and update.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.