Forum Discussion
Cumulative sum issues
- 7 years ago
HI jthomson -
I was able to get it to work by doing the following:
Create a new table for all of the values in "Picks Thrown"
IntNums = VALUES(Ints[Picks Thrown])
Join to the Interceptions table
Modified the measure to filter on IntNums table
Games played with n or less picks = CALCULATE ( [Games Played], FILTER ( ALLSELECTED ( IntNums ), IntNums[Picks Thrown] <= MAX ( IntNums[Picks Thrown] ) ) )Use IntNums as the axis for the bar/line chart (and for the rows on the tables)
Hope this helps
David
HI jthomson -
I was able to get it to work by doing the following:
Create a new table for all of the values in "Picks Thrown"
IntNums = VALUES(Ints[Picks Thrown])
Join to the Interceptions table
Modified the measure to filter on IntNums table
Games played with n or less picks =
CALCULATE (
[Games Played],
FILTER (
ALLSELECTED ( IntNums ),
IntNums[Picks Thrown] <= MAX ( IntNums[Picks Thrown] )
)
)Use IntNums as the axis for the bar/line chart (and for the rows on the tables)
Hope this helps
David
- jthomson7 years agoSolution Sage
Cheers, tweaked it a bit to use generateseries between 0 and the max value of the data, but the concept of using a separate table as the axis is working fine