<?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: How to work with Calculation groups - Dynamic format string - Format String Expression ? in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-work-with-Calculation-groups-Dynamic-format-string-Format/m-p/3009823#M6519</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I don't really work with calculation groups, so I don't particularly understand them very well.&lt;/P&gt;
&lt;P&gt;That being said, if I follow the instructions in the release notes and add a calculation group my my visual, I can see that the format string specifier moves from the column/measure metadata into a new &lt;FONT face="courier new,courier"&gt;objects&lt;/FONT&gt; property in the data view, e.g.:&lt;/P&gt;
&lt;DIV id="tinyMceEditor_8f7f37a54ea04edmp_0" class=""&gt;
&lt;DIV id="tinyMceEditor_8f7f37a54ea04edmp_1" class=""&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="183780543-82581976-e9a7-4e3a-96bd-10b7bc83d9ab.png" style="width: 590px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/852226i2624239FA01E224D/image-size/large?v=v2&amp;amp;px=999" role="button" title="183780543-82581976-e9a7-4e3a-96bd-10b7bc83d9ab.png" alt="183780543-82581976-e9a7-4e3a-96bd-10b7bc83d9ab.png" /&gt;&lt;/span&gt;
&lt;P&gt;With this approach I presume that you will have to look at each row's format string and apply it as you iterate. This might also include regular measures, as this seems to change the behaviour for all format strings in the data view (although I might be wrong).&lt;/P&gt;
&lt;P&gt;Hopefully this may give you some ideas, but I don't think I can provide any further assistance without significant time investment (which I'm very short of at present).&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 09 Jan 2023 21:16:06 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2023-01-09T21:16:06Z</dc:date>
    <item>
      <title>How to work with Calculation groups - Dynamic format string - Format String Expression ?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-work-with-Calculation-groups-Dynamic-format-string-Format/m-p/3004076#M6498</link>
      <description>&lt;P&gt;I have a custom visual and I want to support "&lt;STRONG&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/power-bi-february-2022-feature-summary/#post-18588-_Toc95419031" target="_blank" rel="noopener"&gt;dynamic format strings&lt;/A&gt;"&lt;/STRONG&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;How can get the "Format String Expression" field for each column (calculation item) that was created by&amp;nbsp;Tabular Editor?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taras_0-1672939852098.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/850632i87CF6E0E708C22AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Taras_0-1672939852098.png" alt="Taras_0-1672939852098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then I can't get the column format for my custom visual.&lt;BR /&gt;&lt;BR /&gt;I found the same question before, but no answers:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Custom-Visuals-Development/Dynamic-format-strings/m-p/2424652" target="_blank"&gt;https://community.powerbi.com/t5/Custom-Visuals-Development/Dynamic-format-strings/m-p/2424652&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 17:36:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-work-with-Calculation-groups-Dynamic-format-string-Format/m-p/3004076#M6498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-05T17:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with Calculation groups - Dynamic format string - Format String Expression ?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-work-with-Calculation-groups-Dynamic-format-string-Format/m-p/3008456#M6512</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&amp;nbsp;could you help me with it? Or any idea?&lt;BR /&gt;&lt;BR /&gt;The same question was before, but no answers:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Custom-Visuals-Development/Dynamic-format-strings/m-p/2424652" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Custom-Visuals-Development/Dynamic-format-strings/m-p/2424652&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 08:54:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-work-with-Calculation-groups-Dynamic-format-string-Format/m-p/3008456#M6512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-09T08:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with Calculation groups - Dynamic format string - Format String Expression ?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-work-with-Calculation-groups-Dynamic-format-string-Format/m-p/3009823#M6519</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I don't really work with calculation groups, so I don't particularly understand them very well.&lt;/P&gt;
&lt;P&gt;That being said, if I follow the instructions in the release notes and add a calculation group my my visual, I can see that the format string specifier moves from the column/measure metadata into a new &lt;FONT face="courier new,courier"&gt;objects&lt;/FONT&gt; property in the data view, e.g.:&lt;/P&gt;
&lt;DIV id="tinyMceEditor_8f7f37a54ea04edmp_0" class=""&gt;
&lt;DIV id="tinyMceEditor_8f7f37a54ea04edmp_1" class=""&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="183780543-82581976-e9a7-4e3a-96bd-10b7bc83d9ab.png" style="width: 590px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/852226i2624239FA01E224D/image-size/large?v=v2&amp;amp;px=999" role="button" title="183780543-82581976-e9a7-4e3a-96bd-10b7bc83d9ab.png" alt="183780543-82581976-e9a7-4e3a-96bd-10b7bc83d9ab.png" /&gt;&lt;/span&gt;
&lt;P&gt;With this approach I presume that you will have to look at each row's format string and apply it as you iterate. This might also include regular measures, as this seems to change the behaviour for all format strings in the data view (although I might be wrong).&lt;/P&gt;
&lt;P&gt;Hopefully this may give you some ideas, but I don't think I can provide any further assistance without significant time investment (which I'm very short of at present).&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Jan 2023 21:16:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-work-with-Calculation-groups-Dynamic-format-string-Format/m-p/3009823#M6519</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2023-01-09T21:16:06Z</dc:date>
    </item>
  </channel>
</rss>

