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! Learn more

Reply
bhavadharani
Helper I
Helper I

What To calculate percentage for Bench count on basis of Los

I have two columns named as

    1.Los

    2.Bench count 

 

bhavadharani_0-1673587768560.png

 

My need is to find the percentage of Bench count on basis of Los:

  For example,

     Here in LOS I have different sectors like  Aws Devops,Krisopia,Data Engineering,etc.. I want to calculate percentage for Bench count based on different sectors of Los. Please help me to solve my problem.

Thanks in Advance  

2 ACCEPTED SOLUTIONS
HiraNegi
Resolver II
Resolver II

Hi @bhavadharani ,

 

You can create a measure to create bench count % by LOS like below.

 

Bench% =
SUM(Bench[BenchCoount]) /
CALCULATE(SUM(Bench[BenchCoount]), ALLEXCEPT(Bench,Bench[LOS]))
HiraNegi_0-1673591043940.png

Hope this helps.

 

Regards,

Hira Negi

 

Please don't forget to upvote and Accept as answer if the reply is helpful

 

View solution in original post

Thanks a lot @HiraNegi  @SamInogic ,

 The above formula works me for calculating the percentage of bench count, but I want to calculate the percentage based on los. For example, If I select the Los as Azure Devops then I want to calculate the overall percentage of bench count for Azure DevOps alone.

  Kindly help me to solve my problem @HiraNegi @SamInogic 

 

View solution in original post

6 REPLIES 6
v-jianboli-msft
Community Support
Community Support

Hi @bhavadharani ,

 

Based on your description, I have created a simple sample:

vjianbolimsft_1-1673862548242.png

Please try:

Measure = 
var _a = COUNTX(FILTER(ALL('Table'),'Table'[BENCH_COUNT]=SELECTEDVALUE('Table'[BENCH_COUNT])),[LOS])
var _b = COUNTX('Table',[LOS])
return DIVIDE(_b,_a)

Final output:

vjianbolimsft_0-1673862536948.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SamInogic
Super User
Super User

Hi @bhavadharani,

As per our understanding, you need to calculate percentage of "Bench Count" for Distinct LOS sector on the basis of different sectors in your Power BI report.

Create new measure with below DAX expression as shown in below screenshot,

% of Bench count = DIVIDE(SUM('Table'[Bench Count]),CALCULATE(SUM('Table'[Bench

 Count]), not ISBLANK('Table'[Los])))

SamInogic_0-1673594445197.png

This will calculate the Percentage of Distinct Sector (LOS Column) as shown in the below screenshot,

SamInogic_1-1673594461571.png


If this answer helps, please mark it as Accepted Solution so it would help others to find the solution.


Thanks!

Inogic Professional Service Division

An expert technical extension for your techno-functional business needs

Power Platform/Dynamics 365 CRM

Drop an email at crm@inogic.com

Service:  http://www.inogic.com/services/ 

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/
HiraNegi
Resolver II
Resolver II

Hi @bhavadharani ,

 

You can create a measure to create bench count % by LOS like below.

 

Bench% =
SUM(Bench[BenchCoount]) /
CALCULATE(SUM(Bench[BenchCoount]), ALLEXCEPT(Bench,Bench[LOS]))
HiraNegi_0-1673591043940.png

Hope this helps.

 

Regards,

Hira Negi

 

Please don't forget to upvote and Accept as answer if the reply is helpful

 

Thanks a lot @HiraNegi  @SamInogic ,

 The above formula works me for calculating the percentage of bench count, but I want to calculate the percentage based on los. For example, If I select the Los as Azure Devops then I want to calculate the overall percentage of bench count for Azure DevOps alone.

  Kindly help me to solve my problem @HiraNegi @SamInogic 

 

Hi @bhavadharani ,

I am still unclear on your requirement. Will it be possible to share the sample expected output?

 

@HiraNegi Thanks a lot, I got the output

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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