Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
9 |