cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Regular Visitor

## Calculating percentage grand total

Hi Everyone,

Here in the above screenshot, I tried calculating the values as the ''Percent of grand total'' in Power BI. But it's calculating column-wise only. I tried other options as well like show value as ''Percent of column total'' and ''Percent of row total''.

I tried to populate the same thing in excel and I am able to do so. Please help me how to get the same excel result in Power BI. I am using table/matrix visuals in Power BI.

1 ACCEPTED SOLUTION
Super User

@GarvitaSingh , for % of grand total, create a measure like

divide([measure], calculate([measure], allselected()) )

Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho

2 REPLIES 2
Regular Visitor

Thank you very much @amitchandak for your help!

I am facing one more problem, values in the above snapshot are not coming in sequence. The Datatype of the above column is text. How can I get them in sequence?

Super User

@GarvitaSingh , for % of grand total, create a measure like

divide([measure], calculate([measure], allselected()) )

Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho

Announcements

#### 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.

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

#### Power BI Monthly Update - July 2024

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

#### Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors