Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have the following cummulative count measure whihc works fine:
Count =
CALCULATE (
DISTINCTCOUNT ( 'X Data'[Story ID] ),
FILTER ( ALLSELECTED ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ),
USERELATIONSHIP ( 'Date'[Date], 'X Data'[_Story-Sprint Start] )
)
However I would like to SUM another column but only for the distinct values (so basically ignoring duplicate rows)
SUM =
CALCULATE (
SUM ( 'X Data'[Story Pints] ), `<-But only for the Distinct of Story ID`
FILTER ( ALLSELECTED ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ),
USERELATIONSHIP ( 'Date'[Date], 'X Data'[_Story-Sprint Start] )
)
@zaza , Try like
SUM =
CALCULATE (
SUMX( Summarize('X Data','X Data'[Story ID] , 'X Data'[Story Pints]), [Story Pints] ), // `<-But only for the Distinct of Story ID`
FILTER ( ALLSELECTED ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ),
USERELATIONSHIP ( 'Date'[Date], 'X Data'[_Story-Sprint Start] )
)
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |