cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bi_user_247
Regular Visitor

Sum of values from different categorys in to total rating

Hello all,

 

I am very new to Power Bi, so please excuse my lack of knowledge 😉

 

So I have this table with categories (1-6) and products (A-E). Each product gets a rating for each category.

 

bi_user_247_0-1669132442088.png

 

In the second visulization you can select the categorys to be shown and the colors stand for each product with their rating in this category. In the first graph you see the average total rating of the combined category for each product.

What I am trying to achieve is a variable changing total rating based on the categories you select. Means:

Right now the total rating was calculated in an Excel file. You can only choose the products which are shown.

I want the total rating shown to be different depending on which category (1-6) you select, so that both Visulizations are connected. E.g.: The user selects category 2,3 and 5 and the first Graph only shows the sum of the values of the selected category/columns.

Would that be possible? I already tried a couple of things but nothing seemed to work.

 

BI.PNG

 

 

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

Hi @bi_user_247 ,

 

You can create two slicers and two visuals in Power BI Desktop. Hold down [CTRL] to multiselect values on the slicer .Then the result is as follows.

vtangjiemsft_1-1669281734591.png

Please refer to my PBIX file.

 

Best Regards,

Neeko Tang

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

2 REPLIES 2
v-tangjie-msft
Community Support
Community Support

Hi @bi_user_247 ,

 

You can create two slicers and two visuals in Power BI Desktop. Hold down [CTRL] to multiselect values on the slicer .Then the result is as follows.

vtangjiemsft_1-1669281734591.png

Please refer to my PBIX file.

 

Best Regards,

Neeko Tang

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

MFelix
Super User
Super User

Hi @bi_user_247 ,

 

When you refer to total Rating what do you mean? How are you calculating it in Excel?

 

Not abble to replicate you charts with the same values using the data you presented can you please elaborate a little better on the final result you need?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.