Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm using the following calculated column (CityRename) in a slection list. I'm finding that the slection list doesn't provide the correct results if I choose "Dear Park". In Managed relationships I've made a relationship between the City[name] and the city name field in the table I'm trying to link to. Does anyone have a suggestion?
CityRename = if ('City'[name] in {"Dear Field","Dear Park"} , "Dear Park",'City'[name])
Solved! Go to Solution.
Consider changing the calculation to:
CityRename =
SWITCH(
'City'[Name],
"Dear Field","Dear Park",
"Dear Park", "Dear Park",
'City'[Name]
)
Proud to be a Super User! | |
Consider changing the calculation to:
CityRename =
SWITCH(
'City'[Name],
"Dear Field","Dear Park",
"Dear Park", "Dear Park",
'City'[Name]
)
Proud to be a Super User! | |
Thanks, That helped one of my visuals. Do you happen to know why similar fields in the same table do not seem to be connectd? It seems that the CityRename and the 'City'[Name]' are not necessarily interchangeable even if they contain the same values.
It is hard to say with the information given so far. If you are able, please share your current scenario, and intended scenario (screenshots, etc.)
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |