<?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 Invert values in a visual? in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1782991#M697293</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to reverse the values in a visual?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My dataset have negative values. Income is negative values, and cost i positive values. That is fine in a cost report, but in a profit loss statement i would like the income to be positive numbers and the costs to be negative values. Also there may be time that you would like to highligt some data in a graph and where invertet numbers makes more sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to accomplish this by inverting the values in a matrix og graph, or some other way to revert the measures, without duplicating all the measures? (sound like lot of work and could get messy with actual measures, budget measures, forecast measures, and everything in with YTD, LYTD, total this year and total last year measures. I really dont want to duplicate everything.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 17:58:14 GMT</pubDate>
    <dc:creator>Hanspw</dc:creator>
    <dc:date>2021-04-13T17:58:14Z</dc:date>
    <item>
      <title>Invert values in a visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1782991#M697293</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to reverse the values in a visual?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My dataset have negative values. Income is negative values, and cost i positive values. That is fine in a cost report, but in a profit loss statement i would like the income to be positive numbers and the costs to be negative values. Also there may be time that you would like to highligt some data in a graph and where invertet numbers makes more sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to accomplish this by inverting the values in a matrix og graph, or some other way to revert the measures, without duplicating all the measures? (sound like lot of work and could get messy with actual measures, budget measures, forecast measures, and everything in with YTD, LYTD, total this year and total last year measures. I really dont want to duplicate everything.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 17:58:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1782991#M697293</guid>
      <dc:creator>Hanspw</dc:creator>
      <dc:date>2021-04-13T17:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Invert values in a visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1783065#M697309</link>
      <description>&lt;P&gt;you can create a calculation group item&amp;nbsp; in tabular editor, and then use that&amp;nbsp; item, which is a measure to apply to all the measures in your model, by use of a slicer you apply the calculation group measure to your measure it and you can get the inverse, but it obviously depends on how you want to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see pbix example, but you will need tabular editor to see the calculation item&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/tools/tabular-editor/" target="_blank" rel="noopener"&gt;https://www.sqlbi.com/tools/tabular-editor/&lt;/A&gt;&amp;nbsp; --&amp;gt; download tabular editor if you haven't already, its awesome&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;watch this video with the details&amp;nbsp; on how to use create the calculation group&amp;nbsp; &amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=xS1t25_GsWw" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=xS1t25_GsWw&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i think you can probably use this code for your calculation item. depending on how you use it.&lt;/P&gt;
&lt;PRE&gt;&lt;FONT&gt;&lt;FONT class="fctbStyle0"&gt;selectedmeasure&lt;/FONT&gt;&lt;FONT class="fctbStyle1"&gt;()&lt;/FONT&gt;&lt;FONT class="fctbStyle2"&gt; * -&lt;/FONT&gt;&lt;FONT class="fctbStyle3"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 19:32:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1783065#M697309</guid>
      <dc:creator>vanessafvg</dc:creator>
      <dc:date>2021-04-13T19:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Invert values in a visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1783074#M697312</link>
      <description>&lt;P&gt;I was looking at calculation groups yesterday for using actual, budget, forecast measures to YTD, LYTD, Last year calculated groups, but as i understood that wont work if i want to show lets say actual YTD; LYTD vs budget this year.&lt;BR /&gt;&lt;BR /&gt;But i will look into using calculated groups for inverting data, thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 19:28:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1783074#M697312</guid>
      <dc:creator>Hanspw</dc:creator>
      <dc:date>2021-04-13T19:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Invert values in a visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1787754#M698600</link>
      <description>&lt;P&gt;i just saw this in linked in but not sure if its of any use to you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/posts/daniilmaslyuk_powerbi-activity-6788412485411106816-HaBt" target="_blank"&gt;https://www.linkedin.com/posts/daniilmaslyuk_powerbi-activity-6788412485411106816-HaBt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 19:45:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1787754#M698600</guid>
      <dc:creator>vanessafvg</dc:creator>
      <dc:date>2021-04-15T19:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Invert values in a visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1787775#M698606</link>
      <description>&lt;P&gt;Thank you for the tip. I think the calculation groups is what i am looking for, but this could be handy for a quick fix. But i am not able to test it, i cant see this option. Maybe my desktop application is not updated &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 20:17:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Invert-values-in-a-visual/m-p/1787775#M698606</guid>
      <dc:creator>Hanspw</dc:creator>
      <dc:date>2021-04-15T20:17:30Z</dc:date>
    </item>
  </channel>
</rss>

