Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper I
Helper I

New Calculated Column dependent on one column and independent of all the other columns

Hi community, 


I have a very simple question but all the answers that I get from AI either don't work because Power Bi is not eligible to use the new measure in the formula or results are not accurate. Here is the problem:


I have a data set as follows:




I am trying to calculate a new calculated percentage measurement as seen below:

Sum of Amount  

CompanyJobSourcebcoNew Measure Calculation formula in ExcelCalculation steps
abcabc1bba1000  0.000000% =E3/SUMIFS($D$3:$D$7,$B$3:$B$7,B3)0 divided by sum of "amount" of "b" per "job" which  is 1000 equals to 0.000%
abcabc1vendor1 501005.000000%  50 divided by sum of "amount" of "b" per "job" which  is 1000 equals to 5.000%
abcabc1vendor2 5550.500000%  5 divided by sum of "amount" of "b" per "job" which  is 1000 equals to 0.500%
abcabc2bbc60000  0.000000%  0 divided by sum of "amount" of "b" per "job" which  is 6000 equals to 0.000%
abcabc2vendor2 200250.333333%  200 divided by sum of "amount" of "b" per "job" which  is 6000 equals to 0.333%


Excel pivot can easily aggregate the table and can calculate the new measure as seen above but how can I create a Power Bi formula to calculate this new measure? 

Data tabe and excel solution is in this link:
Thank you all!

Solution Sage
Solution Sage

Hi GeorgeGokmen,

Please check the below DAX measure for getting expected output.


NewMeasure =
Var job = 'Table'[Job]
Var denom = CALCULATE(SUM('Table'[b]),'Table'[Job]=job,ALLEXCEPT('Table','Table'[Job]))
Var result = DIVIDE('Table'[c],denom,0)
Return IF(ISBLANK(result),0,result)


Please refer to the below snapshot. 




Appreciate a Kudos! ‌‌
If this helps and resolves the issue, please mark it as a Solution! ‌‌

N V Durga Prasad

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors