Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Experts
is it possible to summarise data and filter the the summarise table to work out the sum of the filter data set i.e. similiar to what i am trying to achieve using DAX
STDEV.P( SUMMARIZE (filter ( 'Sheet1', Sheet1[OUTCOMETYPE]="Revised"), Sheet1[PRIMARYTOOUTCOMEYEARS] ), CALCULATE(SUM(Sheet1[PRIMARYTOOUTCOMEYEARS])))
Solved! Go to Solution.
Hi @Anonymous ,
You can create a measure with following formula to apply multiple aggregates on filtered records:
measure = STDEVX.P ( SUMMARIZE ( FILTER ( ALLSELECTED ( 'Sheet1' ), Sheet1[OUTCOMETYPE] = "Revised" ), [PRIMARYTOOUTCOMEYEARS], "Total", SUM ( Sheet1[PRIMARYTOOUTCOMEYEARS] ) ), [Total] )
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
You can create a measure with following formula to apply multiple aggregates on filtered records:
measure = STDEVX.P ( SUMMARIZE ( FILTER ( ALLSELECTED ( 'Sheet1' ), Sheet1[OUTCOMETYPE] = "Revised" ), [PRIMARYTOOUTCOMEYEARS], "Total", SUM ( Sheet1[PRIMARYTOOUTCOMEYEARS] ) ), [Total] )
Regards,
Xiaoxin Sheng
Xiaoxin Sheng
brilliant many thanks.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
96 | |
75 | |
63 | |
62 |
User | Count |
---|---|
135 | |
105 | |
104 | |
80 | |
65 |