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

undefined

How can I create 2 bar chart visuals on "Risk score 1 and Risk score 2" using one slicer on "Status"" Below is table example. Appreciate anyone can help !

 

junsarah3000_0-1641007458979.png

 

1 ACCEPTED SOLUTION
SteveHailey
Solution Specialist
Solution Specialist

Hello @junsarah3000. I may misunderstand the question, but you should be able to just create the two bar charts and the slicer. The default behavior is for the slicer to filter them both. I created a .PBIX file that is linked here, in case it's helpful.

 

Additional info: 

Part 1, Add visualizations to a Power BI report - Power BI | Microsoft Docs

Slicers in Power BI - Power BI | Microsoft Docs

 

-Steve

 

SteveHailey_0-1641046433232.png

 

View solution in original post

3 REPLIES 3
v-kalyj-msft
Community Support
Community Support

Hi @junsarah3000 ,

Has @ValtteriN  's solution solved your problem? If yes, please kindly accept it as the solution to help the other members find it more quickly. If not, could you please provide more details about your problem?

 

Best Regards,
Community Support Team _ kalyj

ValtteriN
Super User
Super User

Hi,

I am not sure if I understood your question correctly but this seems quite straightforward.

To create visuals select the desired bar chart here:

ValtteriN_0-1641046929867.png


Use Project as Legend and Risk scores as values. I would combine the risk scores into one chart but if you specifically want two just create following charts:

ValtteriN_1-1641047005732.png

 

ValtteriN_2-1641047019269.png

For slicer select slicer visual and use status as value:

ValtteriN_3-1641047083635.png

 

End result (two charts and combined chart):

ValtteriN_4-1641047104381.pngValtteriN_5-1641047144616.png


I hope this helps and if it does consider accepting this as a solution and giving the post a thumbs up!





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

Proud to be a Super User!




SteveHailey
Solution Specialist
Solution Specialist

Hello @junsarah3000. I may misunderstand the question, but you should be able to just create the two bar charts and the slicer. The default behavior is for the slicer to filter them both. I created a .PBIX file that is linked here, in case it's helpful.

 

Additional info: 

Part 1, Add visualizations to a Power BI report - Power BI | Microsoft Docs

Slicers in Power BI - Power BI | Microsoft Docs

 

-Steve

 

SteveHailey_0-1641046433232.png

 

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors