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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Shawnee
Frequent Visitor

When filter is selected show value in column but alias other column values but still display values

Hi All,

 

I have probably done 100 google searches for this query but have had no luck with it. What I want to achieve is when a user selects a value in the slicer, for that value to display in a table but all other values be replaced by an alias.

 

See example below:

 

Shawnee_0-1599745318763.png

Any help would be greatly appreciated!

 

Kind regards,

Shawnee

2 REPLIES 2
Greg_Deckler
Super User
Super User

@Shawnee Would probably need to understand your data model a little better. Is there a list of these aliases? You would need to write a measure for this like:

Measure =
  VAR __Value = SELECTEDVALUE('Slicer'[Column])
RETURN
  IF(MAX('Table'[Column])=__Value,__Value, <alias lookup goes here>)


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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you for your response, unfortunately it didn't solve my issue.

 

In response to your question, I have a column with a list of aliases for the selected value and a column with the list of the slicer selections in the same table. I need to be able to select from the slicer and display the selection but replace all other values with the corresponding alias column value. Hope this makes sense.

 

Thanks again!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.