Forum Discussion

lesg's avatar
lesg
Frequent Visitor
3 years ago
Solved

Measure Total Incorrect

Hi Guys, 

 

I have created a measure to calculate the value of items based on quantity * cost

Cover Value = 
SUM('View_Inventory_with_Locations'[cost]) * [Cover]

The vaules of the items are correct, yet the 'Total' is bizare and way off 

As its a measure there seem no way of changing how the total is caluclated, i.e. sum, count etc?

Can anyone advise please?

  • Try this but replace "Item" and "Item[Number]" with whatever dimension you're using in the matrix. 

    Measure = 
    SUMX(
    SUMMARIZE( Item , 
    Item[Number], 
    "Value" , SUM(View_Inventory_with_locations[cost]) + [Cover]
    ), [Value]
    )

     
    Br, 
    J

5 Replies