<?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: Dynamically use different measure with different decimal places based on a slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2497214#M68934</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368681" data-lia-user-login="rosu" class="lia-mention lia-mention-user"&gt;rosu&lt;/a&gt; , Best to use calculation group there you can do different formatting &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.enterprisedna.co/conditional-formatting-in-calculation-groups-power-bi/" target="_blank"&gt;https://blog.enterprisedna.co/conditional-formatting-in-calculation-groups-power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : &lt;A href="https://youtu.be/qMNv67P8Go0" target="_blank"&gt;https://youtu.be/qMNv67P8Go0&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 01:15:48 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-05-06T01:15:48Z</dc:date>
    <item>
      <title>Dynamically use different measure with different decimal places based on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2497067#M68930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Power BI and need some help from the experts. I have two different measure fields that essentially represents same business metrics but with two different DP (Decimal Points). The first measure "% of value" has 8 decimal places and the second one "% of Value 2 dp" has only 2 decimal places. I am trying to dynamically use these columns in a measure "% Value" either the first one or the 2nd one based on a slicer selection. I am able to get it but the issue is Power BI strips the decimal places to 2 during measure calculation. Is there a way to have all 8 decimal places returned without using FORMAT as it converts my measures to string?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 21:56:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2497067#M68930</guid>
      <dc:creator>rosu</dc:creator>
      <dc:date>2022-05-05T21:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically use different measure with different decimal places based on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2497214#M68934</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368681" data-lia-user-login="rosu" class="lia-mention lia-mention-user"&gt;rosu&lt;/a&gt; , Best to use calculation group there you can do different formatting &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.enterprisedna.co/conditional-formatting-in-calculation-groups-power-bi/" target="_blank"&gt;https://blog.enterprisedna.co/conditional-formatting-in-calculation-groups-power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : &lt;A href="https://youtu.be/qMNv67P8Go0" target="_blank"&gt;https://youtu.be/qMNv67P8Go0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 01:15:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2497214#M68934</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-06T01:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically use different measure with different decimal places based on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2505956#M69398</link>
      <description>&lt;P&gt;Thank you Amit! Even with calculation group I see the measure is being stripped to 2 decimal place when I add it to the conditional calculation (based a separate selection slicer).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 23:15:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2505956#M69398</guid>
      <dc:creator>rosu</dc:creator>
      <dc:date>2022-05-10T23:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically use different measure with different decimal places based on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2506746#M69432</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368681" data-lia-user-login="rosu" class="lia-mention lia-mention-user"&gt;rosu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;This is &lt;STRONG&gt;not possible&lt;/STRONG&gt; if you want the measure to display values with two decimal places and eight decimal places at the same time in &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Numeric&lt;/STRONG&gt; &lt;/FONT&gt;type according to the slicer option. You can refer to the following blog to make it text type with &lt;A href="https://docs.microsoft.com/en-us/dax/format-function-dax" target="_self"&gt;FORMAT&lt;/A&gt; function, but this is something you want to avoid...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=FO6e3rjSslQ" target="_self"&gt;Power BI - Dynamic Formatting by Slicer Selection&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 07:06:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-use-different-measure-with-different-decimal-places/m-p/2506746#M69432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-11T07:06:27Z</dc:date>
    </item>
  </channel>
</rss>

