Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
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))
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 14 | |
| 9 | |
| 7 | |
| 7 | |
| 6 |