<?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 Values format change in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2480119#M67839</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix visual which based on the slicer selection shows percent or values. The issue is formating values should be whole number, precent should have % .&lt;/P&gt;&lt;P&gt;The data model has the column with all values, and&amp;nbsp; the column with type of value (percent, value, denominator).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Use dax to show values:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Employment = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[KPI Value]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'KPI [Dim]'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'KPI [Dim]'[KPI]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Employment"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have measures: KPI Value, KPI percent.&lt;/P&gt;&lt;P&gt;Is there way I can modify this formula so it can switch between precent and values and formating?&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 10:20:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-27T10:20:04Z</dc:date>
    <item>
      <title>Values format change</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2480119#M67839</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix visual which based on the slicer selection shows percent or values. The issue is formating values should be whole number, precent should have % .&lt;/P&gt;&lt;P&gt;The data model has the column with all values, and&amp;nbsp; the column with type of value (percent, value, denominator).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Use dax to show values:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Employment = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[KPI Value]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'KPI [Dim]'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'KPI [Dim]'[KPI]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Employment"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have measures: KPI Value, KPI percent.&lt;/P&gt;&lt;P&gt;Is there way I can modify this formula so it can switch between precent and values and formating?&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 10:20:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2480119#M67839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-27T10:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Values format change</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2480200#M67846</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , if you are using measure slicer and want the format has to change, you need to use calculation group &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculation groups&lt;BR /&gt;&lt;A href="https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/" target="_blank"&gt;https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 10:56:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2480200#M67846</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-04-27T10:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Values format change</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2482461#M68016</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, due to company policies I don't have tabular editor or external tools in Pbi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 08:09:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2482461#M68016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-28T08:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Values format change</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2490951#M68579</link>
      <description>&lt;P&gt;If anyone have similar task, I've done it by using SWITCH and SELECTEDVALUE (based on slicer) then FORMAT (value).&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 13:01:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2490951#M68579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-03T13:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Values format change</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2495003#M68798</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am so glad to hear that you have done it with your workaround . Please consider Accept it as the solution to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 06:07:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Values-format-change/m-p/2495003#M68798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-05T06:07:43Z</dc:date>
    </item>
  </channel>
</rss>

