Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have an existing DAX measure which gets average of completed fields in the "Master AE" table (there's 35 required fields):
[EPIC %] = CALCULATE(
However, I need to modify it to get a new average that EXCLUDES any rows where Master AE [EPIC Points Count] is <=17 AND the Master AE [Quarter] is > 2.
Or basically, exclude any results from EPIC % measure result <= 49% AND Quarter > 2.
The desired result average should be 40.28% (only 10 values would be averaged per the conditions)
Any idea how I can do this?
Here is the [EPIC points] measure which sums all the points assigned when blanks completed:
Solved! Go to Solution.
I figured out the solution. Had to create a calculated a column "Filtered Points" in Table view to filter out the condition and set them to 0 -
Thanks to all who helped anyway!
I figured out the solution. Had to create a calculated a column "Filtered Points" in Table view to filter out the condition and set them to 0 -
Thanks to all who helped anyway!
@jabueg ,Try using
[EPIC %] =
CALCULATE(
DIVIDE(
[EPIC Points],
COUNTROWS('Master AE') * 35
),
FILTER(
'Master AE',
'Master AE'[EPIC Points Count] > 17 && 'Master AE'[Quarter] <= 2
)
)
Proud to be a Super User! |
|
@bhanu_gautam Thanks, but it's giving incorrect result. The expected result should be 40.29%. What should I adjust in the calculation?
(85.71% + 48.57 + 34.29 + 34.29 + 31.43 + 31.43 + 31.43 +31.43 +28.57 +22.86) = 402.87/10 rows
Hi,
as per my understanding, your existing measure does not need CALCULATE and should read
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
consider voting this Power BI ideaFrancesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
Thank you for your response, but it didn't give me the desired result. I was actually able to figure out the solution and posted in my comment.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |