Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Nindo
New Member

AVERAGE within each Category

Each project has stages, and each stage has tasks. Each task has a task completion %.
I'm currently using a normal Average Formula - 

Stage/Task/Phase Completed % = AVERAGE('FACTS_Projects/Stage/Task'[Task Complete %])
and I get the values below (this is the task level)

Nindo_0-1631168793487.png

 

 

so, when I look at the value at the stage level, I expect to get for each stage (60+20) / 2 tasks = 40%

But instead I get 5%

Nindo_1-1631168582798.png

What am I doing wrong?

1 ACCEPTED SOLUTION
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @Nindo ,

Use the below measure:

Stage/Task/Phase Completed % =
CALCULATE (
    AVERAGE ( Table[Task Complete %] ),
    FILTER ( ALLSELECTED ( Table ), Table[stage name] = MAX ( Table[stage name] ) )
)

 

 

Mark this as a solution, if I answered your question. Kudos are always appreciated.

Thanks

View solution in original post

1 REPLY 1
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @Nindo ,

Use the below measure:

Stage/Task/Phase Completed % =
CALCULATE (
    AVERAGE ( Table[Task Complete %] ),
    FILTER ( ALLSELECTED ( Table ), Table[stage name] = MAX ( Table[stage name] ) )
)

 

 

Mark this as a solution, if I answered your question. Kudos are always appreciated.

Thanks

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.