Forum Discussion

bswank31's avatar
bswank31
Icon for Helper II rankHelper II
2 years ago
Solved

measure issue with multiplying two fields; giving me wrong total

HI. I hope someone can help me out with an issue. I have a table of sites that shows YTD drilled meters and the cost per meter for that project that comes straight from a data source. What I am trying to do is create a measure that will multiply my "YTD drilled meters" field by "$/m" field to give me a total amount cost for that project.  Issues I am having:

1.    Measure will not let me just use the 'Drill'[$/m] field. I have to put average infront of it to work but then in my table the total is all messed up. I don't want average.

              what I am just trying to do is:  $/m * m = [YTD Drilled Meters] * ('Drill'[$/m]) (doesn't work)

The total for the column $/m*m is incorrect. It should be 2,767,846.35. This is where I think the word average in my measure is messing it up. 

     This is what I have now just to see numbers:  $/m * m = [YTD Drilled Meters] * AVERAGE('Drill'[$/m])

I am not sure why the total is not correct. ( I think it has something to do with average in my measure) Any help would be much appreciate.

Thank you for your time!

 

 

 

 

  • Hi,

    Does this measure work?

    Measure = SUMX(VALUES(Data[Site]),[$/m * m])

6 Replies