Skip to main content
cancel
Showing results for 
Search instead 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

Reply
Anonymous
Not applicable

Measure %

Hello,

 

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

alpha_123_0-1617889670966.png

How to do that?

Can anyone give any idea?

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
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:

v-robertq-msft_0-1618196294312.png

 

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

v-robertq-msft_1-1618196294328.png

 

And you can get what you want.

You can download my test pbix file below

 

More info about Clustered Bar Chart in Power BI

 

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.

View solution in original post

3 REPLIES 3
v-robertq-msft
Community Support
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:

v-robertq-msft_0-1618196294312.png

 

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

v-robertq-msft_1-1618196294328.png

 

And you can get what you want.

You can download my test pbix file below

 

More info about Clustered Bar Chart in Power BI

 

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-

alpha_123_0-1617893320435.png

 

amitchandak
Super User
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.

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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