Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi network
I need help to create a function that allows me to generate an average measure based on the dominating direction.
Exampel: if the dominatingDirection =-1, then take the average of difference
The goal is to see the average value above value 0 and what is below value 0.
Kind Regarts
Solved! Go to Solution.
There we go:
Average down = CALCULATE(AVERAGE('Table'[Difference]);FILTER('Table';'Table'[DominatingDirection]=-1))
There we go:
Average down = CALCULATE(AVERAGE('Table'[Difference]);FILTER('Table';'Table'[DominatingDirection]=-1))
User | Count |
---|---|
42 | |
28 | |
24 | |
20 | |
16 |
User | Count |
---|---|
54 | |
35 | |
18 | |
18 | |
15 |