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
wotkara
Frequent Visitor

different naming conventions in slicer

Good morning, I'm hoping you can help.

In our rental software which includes employees, our locations are named:

  • C
  • MC
  • O
  • OKC

In Bamboo, they are named:

  • Loving
  • Kiowa
  • Odessa
  • OKC

Locations will not change but employees and equipment are added daily.

How can I slice the page by location when my location names don't match? Right now, I have 2 slicers but thats not user friendly. 

wotkara_0-1714657470521.png

 

Appreciate any help please. Thank you.

 

1 ACCEPTED SOLUTION
wotkara
Frequent Visitor

tried removing spaces and it's still not happy: 

wotkara_0-1714677594422.png

 

View solution in original post

4 REPLIES 4
wotkara
Frequent Visitor

tried removing spaces and it's still not happy: 

wotkara_0-1714677594422.png

 

Greg_Deckler
Community Champion
Community Champion

@wotkara Not sure I have all the information needed for a full solution but seems like you could always just add a conditional/calculated column that converts the names. In DAX, a simple SWITCH statement would suffice.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you Greg for your reply. I have looked further into your reply and found this helpful solution:

Solved: Is there a way to use SWITCH with CONTAINS? - Microsoft Fabric Community

 

However, I am receiving an error message when trying to duplicate it. Will you explain the error to me so I can fix? Thank you.

wotkara_0-1714676832320.png

 

Yes both sound great but I'm new to this world so do you mind telling me how to do this?

I have 13 tables that use office location "C" "MC" "O" "OKC"

I have 1 table aka Employee that uses "Loving" "Kiowa" "Odessa" "OKC"

wotkara_0-1714660425040.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.