Reply
abhi-kharde
Frequent Visitor
Partially syndicated - Outbound

Average of Percentages

Hello Peers,

I have a query on getting average of percentages for categories.

In below images, I have a table where I have percentage evaluation for days and grades. In total at the bottom I get avg of those percentages. When I plot these in a column chart, I get the plot as shown in one of the images.

What I want to know that how to get an avg of these percentages as line in this column chart.

I have an example done in Excel. I want to achieve same result in PBI. Can some one please help me.

Clustered column chart.pngData Well for Table.pngTable.pngExample done in Excel.png 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Syndicated - Outbound

Hi  @abhi-kharde ,

I created some data:

vyangliumsft_0-1681716569040.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
AVERAGEX(
    FILTER(ALL('Table'),
    'Table'[GRAD]=MAX('Table'[GRAD])),[Value])

2. Use Leng and Clustered column chart.

vyangliumsft_1-1681716569040.png

vyangliumsft_2-1681716600547.png

3. Result:

vyangliumsft_3-1681716600549.png

 

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

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Syndicated - Outbound

Hi  @abhi-kharde ,

I created some data:

vyangliumsft_0-1681716569040.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
AVERAGEX(
    FILTER(ALL('Table'),
    'Table'[GRAD]=MAX('Table'[GRAD])),[Value])

2. Use Leng and Clustered column chart.

vyangliumsft_1-1681716569040.png

vyangliumsft_2-1681716600547.png

3. Result:

vyangliumsft_3-1681716600549.png

 

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

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)