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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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