Forum Discussion

msl924's avatar
msl924
Icon for Helper I rankHelper I
7 years ago
Solved

Why is value displaying as sum instead of specific value?

I have three main tables: forecasted product sales, actual product sales, and a price list. There are relationships between the three linked on product. I have a matrix and I want to display the pric...
  • Cmcmahan's avatar
    Cmcmahan
    7 years ago

    Would it work to change [Item Cost (2)] to a measure like this?

    Item Cost (3) = SELECTEDVALUE(Product[Cost])

    This way, if all of the products with the same Product Number cost the same, you'll get one value for cost. 

     

    If they have seperate values, how should PowerBI know which one to use for each Product Number?  If this is the case, I would suggest adding cost as a secondary row, and pressing the "Expand all down one level in the hierarchy" button on the matrix to display them all.