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

Anonymous
Not applicable

## Measure %

Hello,

I have a sample data where I need to measure % and visualize them.

How to do that?

Can anyone give any idea?

1 ACCEPTED SOLUTION
Community Support

Hi, @Anonymous

According to your description and sample picture, I can understand your requirement clearly, I think you can try this measure to achieve this:

``````Percentage =

var _total=SUMX(ALL('sample data'),[Total_Steps])

return

DIVIDE(SUM('sample data'[Total_Steps]),_total)``````

Then change the format of the measure to “Percentage” in the measure tool like this:

Then create a clustered bar chart and place it like this:

And you can get what you want.

Best Regards,

Community Support Team _Robert Qin

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

3 REPLIES 3
Community Support

Hi, @Anonymous

According to your description and sample picture, I can understand your requirement clearly, I think you can try this measure to achieve this:

``````Percentage =

var _total=SUMX(ALL('sample data'),[Total_Steps])

return

DIVIDE(SUM('sample data'[Total_Steps]),_total)``````

Then change the format of the measure to “Percentage” in the measure tool like this:

Then create a clustered bar chart and place it like this:

And you can get what you want.

Best Regards,

Community Support Team _Robert Qin

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

Anonymous
Not applicable

Need to measure % each Business_Process_Definition by total steps

Output should look like below-

Super User

@Anonymous , Not very clear

divide(sum(Table[Total_steps]), Calculate(sum(Table[Total_steps]), allselected(Table)))

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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.

#### Power BI Monthly Update - June 2024

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

#### New forum boards available in Real-Time Intelligence.

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

Top Solution Authors
Top Kudoed Authors