<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Visual - Localization in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1647347#M27691</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/61993"&gt;@Nishantjain&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;It can be a reason if some internal issue occurs as 'dm-p'&amp;nbsp;mentioned.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can test to use different formatting parameters at the same time to confirm if this scenario appears when you work with multiple parameters or only appears if you combine with cultureSelector and other type formatters.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 07:55:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-02-05T07:55:03Z</dc:date>
    <item>
      <title>Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1633081#M27561</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to add localization to my custom visual and I am struggling to get the data labels to format as per the users locale.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I am trying to do&lt;/P&gt;&lt;P&gt;As per this &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/utils-formatting#the-million-formats" target="_self"&gt;Microsoft Doc Example&lt;/A&gt;&amp;nbsp;I am setting up the localization&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import { valueFormatter } from "powerbi-visuals-utils-formattingutils";

let iValueFormatter = valueFormatter.create({ value: 1e6 });

iValueFormatter.format(1234567890);

// returns: "1234.57M"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the culture to format the data label in German&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import { valueFormatter } from "powerbi-visuals-utils-formattingutils";

let iValueFormatter = valueFormatter.create({ cultureSelector: "de-DE", value: 1e6 });

iValueFormatter.format(1234567890);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I expect the output to be&amp;nbsp;"1234,57 Mio" but I am getting "1234,57M".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not sure what I am missing and I can't find an example in any of the sample in github. Any help is much appreciated&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 12:40:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1633081#M27561</guid>
      <dc:creator>Nishantjain</dc:creator>
      <dc:date>2021-01-30T12:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1634561#M27579</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/61993"&gt;@Nishantjain&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I checked the documents but not found they mention the compatibility about combine using two features. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In my opinion, I'd like to suggest you test with a single feature first to confirm they work on your side if you not mixed two features.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 02:54:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1634561#M27579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-01T02:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1640199#M27627</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Not sure which 2 features you are referring to. I am only trying to get the localization working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just need an example of how to make it work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 23:12:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1640199#M27627</guid>
      <dc:creator>Nishantjain</dc:creator>
      <dc:date>2021-02-02T23:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1643578#M27663</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/61993"&gt;@Nishantjain&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;The two features mean the formatting and localization of custom visuals.&amp;nbsp; I'd like to suggest test two features alone to confirm the both of the two features work in your environment and the resulting style if they sensitive to the parameter orders.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import { valueFormatter } from "powerbi-visuals-utils-formattingutils";
let iValueFormatter = valueFormatter.create({ value: 1e6, cultureSelector: "de-DE" });
iValueFormatter.format(1234567890);&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 02:54:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1643578#M27663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-04T02:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1644030#M27670</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Thanks for the suggestion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried changing the parameter order but no luck.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 08:21:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1644030#M27670</guid>
      <dc:creator>Nishantjain</dc:creator>
      <dc:date>2021-02-04T08:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1646179#M27684</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/61993"&gt;@Nishantjain&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;My two cents: based on my experience with the library, you're using this as intended.&lt;/P&gt;
&lt;P&gt;It's not stated in your OP, but is the format as you expect for a core visual for the same measure, but not for the formatting utils? If so, then I would suspect this is a bug in the formatting utils and you should probably &lt;A href="https://github.com/microsoft/powerbi-visuals-utils-formattingutils/issues" target="_self"&gt;raise an issue&lt;/A&gt; for it. Of note, I see &lt;A href="https://github.com/microsoft/powerbi-visuals-utils-formattingutils/issues/36" target="_self"&gt;there's currently an open issue specifically with this locale&lt;/A&gt;, so it might be worth reviewing/weighing-in on that.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:03:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1646179#M27684</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-02-04T20:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1647347#M27691</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/61993"&gt;@Nishantjain&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;It can be a reason if some internal issue occurs as 'dm-p'&amp;nbsp;mentioned.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can test to use different formatting parameters at the same time to confirm if this scenario appears when you work with multiple parameters or only appears if you combine with cultureSelector and other type formatters.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 07:55:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1647347#M27691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-05T07:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Localization</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1659799#M27784</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;Thanks for your reply. I believe I have got exactly the same issue as you mentiond in your post (&lt;A href="https://github.com/microsoft/powerbi-visuals-utils-formattingutils/issues/36" target="_self"&gt;valueFormatter ignores culture #36&lt;/A&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue has been open for over 4 months so not sure what the priority is to fix this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 08:05:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Localization/m-p/1659799#M27784</guid>
      <dc:creator>Nishantjain</dc:creator>
      <dc:date>2021-02-11T08:05:05Z</dc:date>
    </item>
  </channel>
</rss>

