Forum Discussion
Nabil20_24
Helper I
2 years agoIsland Table
Hi All, I have the table below as well as other tables, the relationship between this table and the other tables is 1 to *; I created calculated coulmn in the below table and called maskedcountr...
- 2 years ago
Hi Nabil20_24
I just created a DisplayedName measure instead of a calculated column and it worked perfectly.
I've also attached a link to a reference file. You can check it out as well.
Best Regards,
Muhammad YousafIf this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly.
Sahir_Maharaj
Super User
2 years agoHello Nabil20_24,
Can you please try this revised version:
DisplayedName =
IF(
SELECTEDVALUE(MaskTable[Mask], "Masked") = "Unmasked",
MAX('Data'[Country Name]),
MAX('Data'[MaskedName])
)
Nabil20_24
Helper I
2 years agoHi Sahir,
Thanks for this. Actually max will return one row only