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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

change x-axis dynamically via slicer

Hi Everyone,

 

I have below image which shows,

 

Untitled3.png

 

My data is as follows

 

HourWeeknameCount_loading_colTotal_loadingTotal teusLocation_nameColumn
4120WK240090 0
420WK24  80 ND
 20WK24   aND
820WK240090 0
7120WK240080b0
320WK2422190 1
2120WK250090 0
1320WK250088 0
 20WK25    ND
420WK25   cND
4120WK2500 d0
720WK2500  0
 20WK25    ND
4720WK250080b0
1120WK250080 0
2320WK2500 e0
920WK2500 b0
1520WK2500 a0
820WK2500 a0
220WK25221  1
520WK2500  0
 20WK25    ND
5020WK250090 0
1620WK2500 a0
620WK2500 c0
620WK2500 a0

 

My requirement is when I filter across weekname using slicer, can I get location percentage in bar chart in image 1.

 

Ex. 20Wk28 has 6 locations, which needs to display.

 

If I try using bridge table or power query let me know how can I do it.

 

Here I cannot combine 2 categories into one as it can be done in power query.

 

Let me know whether it can be done?

 

Thanks.

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous ,

Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M

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

View solution in original post

Anonymous
Not applicable

HI @Anonymous,

I'd like to suggest you take a look at the following blog about change table structure to achieve dynamic attribute filter based on slicer:

Dynamic Attributes In A Power BI Report 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @Anonymous,

I'd like to suggest you take a look at the following blog about change table structure to achieve dynamic attribute filter based on slicer:

Dynamic Attributes In A Power BI Report 

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@Anonymous ,

Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.