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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
VictorMontiel
New Member

Obtain percentage of different tables from a table of totals

Hello all,

I am working on setting up some KPIs for my team to show in the organization.
I have obtained my data from 2 excel files one for incidents caused by changes, other one is a raw file of changes created on the year.

from these 2 files I was able to obtain the 6 different visualization tables, Primary visualization table is "Approved changes"and what I want is to be able to obtain the percentage of other tables related to the total showed in my primary table.

 

Primary visualization table, total approved changes in the year is 3174

VictorMontiel_0-1600444987131.png

 

So for example, I have this another table, called Standard changes which is a subtype obtained from the change file.

VictorMontiel_1-1600445032871.png

 

so the question is, how can I calculate the percentage of each month's and also for total of standard changes against Approved changes from primary visualization table.  example of the total would be: 1947/3174*100 = 61%

 

thanks!

Victor.

 

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Hello @VictorMontiel ,

Is there a reality between these two tables?

Thank you

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

HI @VictorMontiel ,

 

As you have got relationship between these 2 tables, you can create a caluclation somehting like below:

Measure = DIVIDE(SUM(TBALE1[ApprovedChnages]), SUM(Table2[Standard]), 0)

 

Replace your tablenames and column names in above dax.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

5 REPLIES 5
Pragati11
Super User
Super User

Hello @VictorMontiel ,

Is there a reality between these two tables?

Thank you

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi, Pragati. I made a relationship on business service field, so I could add a filter at the top.

 

VictorMontiel_0-1600445665444.png

 

here's how it all looks.

VictorMontiel_1-1600445694660.png

best.

Hi @VictorMontiel ,


Is Pragati11's answer helpful?  If it is, kindly accept it as a solution. More people will benefit from this thread. If you are still confused about it, please share more details to us.  Thanks!

 

 

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

HI @VictorMontiel ,

 

As you have got relationship between these 2 tables, you can create a caluclation somehting like below:

Measure = DIVIDE(SUM(TBALE1[ApprovedChnages]), SUM(Table2[Standard]), 0)

 

Replace your tablenames and column names in above dax.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

thanks, Pragati.

your suggestion helped me to find a way to put all the info in a single table.
what I did was to create additional columns per each KPI I want to show, with values 1, 0 post that I was able to put them all together in a single table with their respective percentages.

here's how it looks.

VictorMontiel_0-1601474007649.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.