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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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