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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors