<?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: Switch returning percentage and whole numbers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786156#M37547</link>
    <description>&lt;P&gt;That is already used for each measure.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The first 3 statements return whole numbers such as 100 000 while the 3 others return 0.01 when I want it to return 1.00%. Each measure is already configured under formatting but it doesn't reflect it when it is used in the visuals. I don't want % for all measures&lt;/P&gt;</description>
    <pubDate>Thu, 15 Apr 2021 07:21:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-04-15T07:21:21Z</dc:date>
    <item>
      <title>Switch returning percentage and whole numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786137#M37542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a switch statement which returns both the total number of enquiries and sales as well as a percentage that divides e.g. enquiries created with total number of transactions.&lt;/P&gt;&lt;P&gt;The way it is now, the supposed percentage value returns 0.01 and not 1.00%.&lt;/P&gt;&lt;P&gt;Is there any workaround regarding this?&lt;/P&gt;&lt;P&gt;I have set each of the measures created to either decimal or whole number and the percentage measures to % with 2 decimals but it takes the whole/decimal number.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jari&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 07:11:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786137#M37542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-15T07:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Switch returning percentage and whole numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786149#M37545</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , In measure and column tool you have % icon , press that you should get %&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 07:16:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786149#M37545</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-15T07:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Switch returning percentage and whole numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786156#M37547</link>
      <description>&lt;P&gt;That is already used for each measure.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The first 3 statements return whole numbers such as 100 000 while the 3 others return 0.01 when I want it to return 1.00%. Each measure is already configured under formatting but it doesn't reflect it when it is used in the visuals. I don't want % for all measures&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 07:21:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786156#M37547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-15T07:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Switch returning percentage and whole numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786466#M37551</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , this can best be done with calculation groups( I think you are using measure slicer &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculation groups&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=vlnx7QUVYME" target="_blank"&gt;https://www.youtube.com/watch?v=vlnx7QUVYME&lt;/A&gt;&lt;/P&gt;
&lt;P&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>Thu, 15 Apr 2021 09:14:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1786466#M37551</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-15T09:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Switch returning percentage and whole numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1787892#M37604</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mixing different outputs in one measure is never a good idea. If you really need to do it, then you've got 2 choices: return the result as text formatted the way you want or use calculation groups. The first choice is simple but such a measure will have to be a top-level measure (meaning you won't be able to use it correctly in other measures). The second choice is more complex but it's the preferred way as it allows the measure to be used in other measures as it'll return the type it should (not only text).&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 22:29:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-returning-percentage-and-whole-numbers/m-p/1787892#M37604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-15T22:29:23Z</dc:date>
    </item>
  </channel>
</rss>

