Forum Discussion
SelectedValue as Slicer for MultiLanguage Reports
- 1 year ago
Hi ceren1997
Calculated columns don't respond to slicer selections. Within the calculated column context, it encounters a blank value since SELECTEDVALUE returns blank by default. It remains unaware if any selection has been made in the slicer.
Try using field parameters to switch between columns using a slicer.
Hi ceren1997 - you can create bridge table if you dont have it as like below.
Language =
DATATABLE(
"LanguageId", INTEGER,
"LanguageName", STRING,
{
{1, "English"},
{2, "OtherLanguage"}
}
)
after that instead of calculated column, create a measure as like below to work dynamically switch the MonthName based on the selected language. This measure can then be used in your slicers or visuals
attached pbix file FYR.
Hope this helps.
Thank you so much, this would also work perfectly!