Forum Discussion
hackfifi
5 years agoHelper V
Calculating Average excluding MEASURE data
Hello - Trying to develop a measure excluding certain data. Project PF Avg PF Exclude? Project 1 2.47 2.20 1 Project 2 1.54 2.20 Project 3 2.59 2.20 Cu...
- 5 years ago
hackfifi
I forgot to remove the variable, as it always stays static, please check now:Avg PF (Excluded) = AVERAGEX( FILTER(ALL(Table2[Project]),[Exclude] <> 1), [PF] )________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
Ashish_Mathur
5 years agoSuper User
Hi,
Does this measure work? Drag this measure to a card visual.
=averagex(filter(values(data[project]),data[exclude?]<>1),[pf])
Hope this helps.