Forum Discussion
Anonymous
6 years agoNot applicable
Issue with Totals
Hi team, this is the issue I am having Here below is my query km/stop = VAR AVGKMS = AVERAGE(E3table_1[KM]) return if(hasonevalue(E3table_1[ManInd]),AVGKMS,SUMX(VALUES(E3table_1[ManInd]),...
- 6 years ago
Anonymous these will be two different measures , one Avg Kms Measure and 2nd will be Measure1
AVG Kms Measure = AVERAGE(E3table_1[KM]) Measure1 = IF ( HASONEVALUE(E3table_1[ManInd]), [AVG Kms Measure], SUMX( SUMMARIZE ( VALUES(E3table_1[ManInd]), E3table_1[ManInd], "AvgKms",[AVG Kms Measure] ), [AvgKms] ) )
v-frfei-msft
Community Support
6 years agoHi Anonymous ,
You can copy and past your sample data here directly. Could you plz share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive for Business and share the link here.