okviz / free-visuals

Power BI free custom visuals
MIT License
24 stars 7 forks source link

Cards with States - Behaviour of Culture Code #329

Closed danielemicera closed 1 year ago

danielemicera commented 2 years ago

I am using Cards with States v1.6.8 (also tried on v.16) and I want to use thousands separator for my measure according to the user's regional settings. Example: -In Italy, the decimal separator is the comma (,) while the thousands separator is the dot (.) --> 1.234,56 -In the US, the decimal separator is the dot (.) while the thousands separator is the comma (,) --> 1,234.56 Based on this, when I release the report in Power BI Service, I want the card to update the format according to the Power BI Service settings. This works fine with default PBI views but not with Cards with States. I found out the Culture Code option: modifying it to Italian let me use the italian format; modifying it to English (United States) let me always use the US format. I thought that the 'Auto' setting automatically decided which format to use based on the machine settings: however, it is not the case as it always use the US (or similiar) format (comma for thousands, dot for decimals).

Affected environment

Dummy file for reproduction: dummy_cards.zip

Screenshots for PBI Service (both Italian and US settings): as you can see, the standard PBI visual (the last one) changes dynamically based on the settings, the others (Cards with States) stick with the Culture Code. it

us

riccard0russ0 commented 1 year ago

We have temporarily suspended the development of new features and addressing bugs that aren't related to security. This decision is based on the fact that the new Power BI built-in Cards supports almost all Card with States functionalities. We will reconsider this decision if our plans change.