USERCULTURE DAX Function (Information) Volatile
Returns the culture code for the user, based on their operating system or browser settings.
Syntax
This expression has no parameters.
Return values
The culture code as a string, such as “en-US”.
» 3 related functions
Examples
You can use the following DAX switch statement to select the correct translated value in a dynamic visual title in Power BI:
SWITCH ( USERCULTURE(), "de-DE", "Umsatz nach Produkt", "fr-FR", "Ventes par produit", "Sales by product" )
Related articles
Learn more about USERCULTURE in the following articles:
-
Expression-based titles in Power BI Desktop: Create a field for your title
You can create language-specific titles in a DAX measure by using the USERCULTURE() function. This function returns the culture code for the user, based on their operating system or browser settings. » Read more
Related functions
Other related functions are:
Last update: Oct 27, 2024 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://learn.microsoft.com/dax/userculture-function-dax