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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
shainis
Helper I
Helper I

Bar chart - Average of categories

Hi, I'm trying to show the average of the categories, not of the answers.

 

For example, the average of the answers would always be 20%, because the total is 100%, divided by 5.

I would like however to show the average of the categories, based on the answers. So it would be 3.56 in this case. I would like a line that crosses the bar on 3.56.

 

bar.PNG

 

My data is in excel that looks like that. Each line is a different submission in the questionnaire.

12.PNG

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @shainis ,

 

What does each row and each column mean in above sample dataset? How to generate the column chart based on such a sample table?

 


I would like however to show the average of the categories, based on the answers. So it would be 3.56 in this case. I would like a line that crosses the bar on 3.56.


What is the mathematical logic to calculate the result of 3.56?

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I managed to do so by changing the data type to decimal number instead of text.

 

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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