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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
junsarah3000
Frequent 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-yanjiang-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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.