Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Need To Calculate A Total For A Column That Is Based On Multiple Rows In The Database Table

EDIT - Corrected Subject (sorry about that) Hi folks, I have a table of data that isn't cooperating. I can get some of my calculations to work (eg To be purchase in year), but not all. It may be ...
  • jdbuchanan71's avatar
    jdbuchanan71
    7 years ago

    Hello Anonymous 

    This measure is giving me the results I expected

    Seeded Acres = 
    SUMX ( SUMMARIZE('Table','Table'[ID],'Table'[Year],'Table'[Grain]), CALCULATE( MAX ( 'Table'[Acres Seeded] ) ) )

    I expanded your sample with another year and another contract to test:

    I have also attached my sample .pbix for you to look at.