Forum Discussion
Anonymous
3 years agoNot applicable
Selectedvalue with bracked
Hi Experts
How can i add brackets on to the following dax measure
Measure =
SelectedValue = SELECTEDVALUE('pg_control_cases'[country_dim.country_name])
expected end result = - (canada)
Hi Anonymous
Not entirely sure what you mean, do you want brackets around the result returned by the measure?
If so, use this
Measure = "(" & SELECTEDVALUE('pg_control_cases'[country_dim.country_name]) & ")"If you also need a - before the ( just add that into my code.
regards
Phil
1 Reply
- PhilipTreacy
Super User
Hi Anonymous
Not entirely sure what you mean, do you want brackets around the result returned by the measure?
If so, use this
Measure = "(" & SELECTEDVALUE('pg_control_cases'[country_dim.country_name]) & ")"If you also need a - before the ( just add that into my code.
regards
Phil