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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Percentage calculation by total figures per team

Hello, can someone help me please. I have a table of calls taken by teams across since March to present date. In the SLA Met, I have either SLA Achieved or SLA Breached. Now, in the visual view, it displays all of the SLA data by team, i.e. one figure for SLA Achieved and one figure for SLA breached. Now, I need to work out the percentage of each of these total by the amount of calls a team has taken during the above period. How can I do this?

 

arafi_0-1608645579736.png

 

So, the percentage needs to be next to each team after the total calls for that team. Hope this makes sense?

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous ,

This needs to be measured

v-yangliu-msft_0-1608874620460.png

Here are the steps you can follow:

1. Create measure.

 

Total =
SUMX('Table',[SLA Achieved]+[SLA Breached])
SLA_AchievedPercent =
DIVIDE(SUM('Table'[SLA Achieved]),[Total])

 

2. Result:

v-yangliu-msft_1-1608874620464.png

You can downloaded PBIX file from here.

If my answer is not what you need, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Best Regards,

Liu Yang

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

amitchandak
Super User
Super User

@Anonymous , are these measure ?

Final measure is not clear to me

 

Try something like these measure , if they are measures

% SLA Achieved=  divide([SLA Achieved] ,[SLA Achieved] +[SLA Breached])

% SLA Breached=  divide([SLA Breached] ,[SLA Achieved] +[SLA Breached])

Anonymous
Not applicable

Thanks, no, the columns are not measures, they are grouped together for each team and the by SLA status. I wanted the percentage figure next to Total for each team. Sorry, I'm fairly new, a novice to Power BI, just had approx 2 weeks exposure to it.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.