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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
harshadrokade
Post Partisan
Post Partisan

Adding % on clustered bar chart

Hi,

 

I have clustered bar chart as below. I want to show % instead of number on this visual. If I use 'Show as %' option in values tab, it shows % of all blue & grey counts as a whole. I want to show break of blue bars in % seperately which will tally to 100%. Similarly the greys individual % should tally to 100%.

 

Plssssss help me know how to achive the same.

 

harshadrokade_0-1643870364070.png

 

1 ACCEPTED SOLUTION

Hi, @harshadrokade 

 

Please check the following methods.

Measure =
VAR N1 =
    CALCULATE (
        SUM ( 'Table'[Standard] ),
        FILTER (
            ALL ( 'Table' ),
            [School] = MAX ( 'Table'[School] )
                && [Skills] = MAX ( 'Table'[Skills] )
        )
    )
VAR N2 =
    CALCULATE (
        SUM ( 'Table'[Standard] ),
        FILTER ( ALL ( 'Table' ), [School] = MAX ( 'Table'[School] ) )
    )
RETURN
    DIVIDE ( N1, N2 )

vzhangti_0-1644398602133.png

 

Best Regards,

Community Support Team _Charlotte

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

5 REPLIES 5
jaipal
Resolver III
Resolver III

@harshadrokade  I am asuming you looking for the similar solution

jaipal_1-1643942620223.png

 

Measure = COUNTA('Table'[Skill])/CALCULATE(COUNTA('Table'[School]), ALLSELECTED('Table'[Skill]))

 

 

amitchandak
Super User
Super User

@harshadrokade , Something similar discussed in this video here , check

https://youtu.be/IH4bcHhxunw

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
jaipal
Resolver III
Resolver III

@harshadrokade  are you using measures to show the visuals? if possible share some sample data

Hi @jaipal,

 

Pls see below data. I have also created the visual for your referance but it is not showing %. I want tio show % that will tally to 100% seperately for School ABC1 & School ABC2. Light Blue total % wil sum up 100 & dark blue will also sum up 100%

 

harshadrokade_0-1643901261038.png

 

StandardSkillsSchool
1A1ABC1
2A1ABC1
3A1ABC1
4A1ABC1
5A2ABC1
6A2ABC1
7A2ABC1
8A3ABC1
9A3ABC1
10A3ABC1
11A3ABC1
12A4ABC1
13A4ABC1
14A1ABC2
15A2ABC2
16A2ABC2
17A2ABC2
18A2ABC2
19A3ABC2
20A3ABC2
21A4ABC2
22A4ABC2
23A4ABC2
24A4ABC2
25A4ABC2
26A4ABC2

 

 

 

Hi, @harshadrokade 

 

Please check the following methods.

Measure =
VAR N1 =
    CALCULATE (
        SUM ( 'Table'[Standard] ),
        FILTER (
            ALL ( 'Table' ),
            [School] = MAX ( 'Table'[School] )
                && [Skills] = MAX ( 'Table'[Skills] )
        )
    )
VAR N2 =
    CALCULATE (
        SUM ( 'Table'[Standard] ),
        FILTER ( ALL ( 'Table' ), [School] = MAX ( 'Table'[School] ) )
    )
RETURN
    DIVIDE ( N1, N2 )

vzhangti_0-1644398602133.png

 

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors