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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Percentage Column Help

Hi

 

I need some help with a dashboard i am creating. I have 1 data dump out of Primavera p6 but need to either have a seperate sheet or another way to look at the below columns and calculate a %.

 

1 - Planner name

2 - Activity Status

3 - Missing Logic

 

I need to show a graph to show each of the planners, the remaining activities (Activity status doesnt equal Complete) and "Missing Logic". This is probably really easy but its baffled me. As a % of the remaining activities. 

 

Please help.

Cheers, Keith 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Check this formula.

Measure = 
var remain = COUNTX(FILTER('Table','Table'[activity status]<>"finished"),'Table'[planner])
var missing = COUNTX(FILTER('Table','Table'[activity status]<>"finished"&&'Table'[logic]="missing logic"),'Table'[planner])
return
missing/remain

Result would be shown as below.

1.PNG 

 

Best Regards,

Jay

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

Check this formula.

Measure = 
var remain = COUNTX(FILTER('Table','Table'[activity status]<>"finished"),'Table'[planner])
var missing = COUNTX(FILTER('Table','Table'[activity status]<>"finished"&&'Table'[logic]="missing logic"),'Table'[planner])
return
missing/remain

Result would be shown as below.

1.PNG 

 

Best Regards,

Jay

ryan_mayu
Super User
Super User

@Anonymous 

please share the sample data and expected output





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Im not sure if this will work or not. and cant share information due to sensitivity. There are a lot more columns in the spreadsheet im using such as. Activity Name, Duration, Project Name etc etc etc. but is roughly 24000 rows of information. Hopefully the screenshot of excel will give an indication of what im after. If not ill have to try a replicate the data wtih new data in BI as an example. 

 

kduffy1988_0-1593702572414.png

 

@Anonymous add the following measures to achieve the result

 

Activity = COUNTROWS('Table')

Remaining = CALCULATE([Activity],'Table'[Activity status]<>"Finished"))

Missing Logic = CALCULATE([Activity] ,'Table'[Logic]="Missing Logic")

% = DIVIDE ( [Missing Logic], [Remaining]

 

Drop Planner and above measures in a table visual and you will get the result, you can further tweak these measure as per your business logic, I guess this will get you started.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@Anonymous 

Try to create measures

total activity = COUNTROWS('Table')

Total remaining = CALCULATE(COUNTROWS('Table'),FILTER(ALLEXCEPT('Table','Table'[Planner]),'Table'[Activity status]<>"Finished"))

Missing Logic = CALCULATE(COUNTROWS('Table'),FILTER(ALLEXCEPT('Table','Table'[Planner]),'Table'[Logic]="Missing Logic"&&'Table'[Activity status]<>"Finished"))

%not linked = [Missing Logic]/[Total remaining]

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors