<?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 Dynamic Format String Using Calculation Groups not acting as expected in visuals with Drill Down in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Dynamic-Format-String-Using-Calculation-Groups-not-acting-as/m-p/3132157#M35578</link>
    <description>&lt;P&gt;Hello Community&lt;/P&gt;&lt;P&gt;I'm using Power BI Desktop RS version May 2021 (A must from the customer). I have some visuals that use a Measure that returns different measures based on user selection (Cost if the user selects Cost from a slicer, Number of customers if the user chooses Customers from the same Slicer...).&lt;/P&gt;&lt;P&gt;Now, as the measure returns values with different natures, I had to manage the dynamic formatting of that measure using Calculation groups in Tabular Editor as follows :&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Expression: Returns the value of the measure: SELECTEDMEASURE()&lt;/LI&gt;&lt;LI&gt;Format String Expression: Returns a different format based on the user's selection from a slicer:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; If (
SELECTEVALUE('Measure Selection'[Measure Id], 1) = 1
, "$#,0.0" // Cost value with only one decimal
, "#,0" // Absolute Value without decimals
)​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On most visuals, everything works well. However, I recently noticed that for visuals where the same field is dropped in the Axis and the Legend, the dynamic formatting is messed up and the visual shows the value to the smallest decimal available (My values have around 10 decimals)&lt;/P&gt;&lt;P&gt;Did anyone meet this kind of issue in the past?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help or any reference you could share&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 23:59:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-14T23:59:28Z</dc:date>
    <item>
      <title>Dynamic Format String Using Calculation Groups not acting as expected in visuals with Drill Down</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Dynamic-Format-String-Using-Calculation-Groups-not-acting-as/m-p/3132157#M35578</link>
      <description>&lt;P&gt;Hello Community&lt;/P&gt;&lt;P&gt;I'm using Power BI Desktop RS version May 2021 (A must from the customer). I have some visuals that use a Measure that returns different measures based on user selection (Cost if the user selects Cost from a slicer, Number of customers if the user chooses Customers from the same Slicer...).&lt;/P&gt;&lt;P&gt;Now, as the measure returns values with different natures, I had to manage the dynamic formatting of that measure using Calculation groups in Tabular Editor as follows :&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Expression: Returns the value of the measure: SELECTEDMEASURE()&lt;/LI&gt;&lt;LI&gt;Format String Expression: Returns a different format based on the user's selection from a slicer:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; If (
SELECTEVALUE('Measure Selection'[Measure Id], 1) = 1
, "$#,0.0" // Cost value with only one decimal
, "#,0" // Absolute Value without decimals
)​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On most visuals, everything works well. However, I recently noticed that for visuals where the same field is dropped in the Axis and the Legend, the dynamic formatting is messed up and the visual shows the value to the smallest decimal available (My values have around 10 decimals)&lt;/P&gt;&lt;P&gt;Did anyone meet this kind of issue in the past?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help or any reference you could share&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 23:59:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Dynamic-Format-String-Using-Calculation-Groups-not-acting-as/m-p/3132157#M35578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-14T23:59:28Z</dc:date>
    </item>
  </channel>
</rss>

