Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Robbiema
Regular Visitor

Slider filter with USERCULTURE()

I need to filter using USERCULTURE(), I need to have the item of the table for filter , but I need they change by language of user?

If I try to use USERCULTURE(), power bi say me I can't use it in a column!

1 ACCEPTED SOLUTION
v-jialongy-msft
Community Support
Community Support

Hello @Robbiema ,

 

For your first question, the return value of the function USERCULTURE() is fixed in the form of language-country. You want to use the return value of USERCULTURE() to match the user's language. Based on what I have learned so far, this cannot be achieved.

 

For more information on how to use USERCULTURE(), you can check this document

USERCULTURE function (DAX) - DAX | Microsoft Learn

 

For your second question, the function of USERCULTURE() is to dynamically display different date formats or currency units according to the user's region, so USERCULTURE() can only be used in measure.

So if you want to use USERCULTURE(),Please use it in measure.

 

vjialongymsft_0-1701141026791.png

 

 

Best Regards,

Jayleny

View solution in original post

1 REPLY 1
v-jialongy-msft
Community Support
Community Support

Hello @Robbiema ,

 

For your first question, the return value of the function USERCULTURE() is fixed in the form of language-country. You want to use the return value of USERCULTURE() to match the user's language. Based on what I have learned so far, this cannot be achieved.

 

For more information on how to use USERCULTURE(), you can check this document

USERCULTURE function (DAX) - DAX | Microsoft Learn

 

For your second question, the function of USERCULTURE() is to dynamically display different date formats or currency units according to the user's region, so USERCULTURE() can only be used in measure.

So if you want to use USERCULTURE(),Please use it in measure.

 

vjialongymsft_0-1701141026791.png

 

 

Best Regards,

Jayleny

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.