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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
bobbob123
Helper III
Helper III

Create a slicer that displays a bar graph over time

Hi all,

 

I have the following data on excel which analyses team perofmrnace over time.

bobbob123_0-1648433668219.png

 

When I upload this on Power BI, I can see all my teams and their performance yearly.

 

I'm finding it hard to create a slicer so that I can select my year and team and observe their performance.

 

bobbob123_1-1648433829567.png

 

 

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

Hi @bobbob123 ,

 

In power query editor, select the [Team] Column and unpivot other columns.

vchenwuzmsft_0-1648634144945.png

 

Then result:

vchenwuzmsft_1-1648634164847.png

 

bix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

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

3 REPLIES 3
v-chenwuz-msft
Community Support
Community Support

Hi @bobbob123 ,

 

In power query editor, select the [Team] Column and unpivot other columns.

vchenwuzmsft_0-1648634144945.png

 

Then result:

vchenwuzmsft_1-1648634164847.png

 

bix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

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

amitchandak
Super User
Super User

@bobbob123 , I would advice to unpivot the year and bring them into rows.

https://radacad.com/pivot-and-unpivot-with-power-bi

 

Otherwise create measure for each year and then create calculation group

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display: https://youtu.be/qMNv67P8Go0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Can you show me how to unpivot the year and bring them into rows? I'm new to POWER BI.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors