I have a sales fact 'Sales' from multiple countries and I have a measure created in that fact table called 'Sales'[Revenue]
I'd like to create one measure that dynamically formats based on the the country, so US sales would be formatted $100 and UK sales as £100 (if the filter context included multiple countries then it could just omit the currency symbol or return blank())
I have a country dimension where I have add the format string as an attribute.
How could this be achieved in DAX? The only option I know will work is to create 5 separate measures [Revenue $], [Revenue £] etc. but that will create clutter in the client tools. I've looked at using FORMAT but can't quite get it to work
Thanks