<?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 how to... Create Measure to identify &amp;quot;direction&amp;quot; of development ofranking from two periods in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2839883#M90714</link>
    <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I would like to create a measure to indicate the development of rankings per item from two periods (RankActual=a, RankPrevious=p). Because both values might be &amp;lt;0 or &amp;gt; 0 or = 0, I need a hint how to handle that in a smart way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My approach seems not good. I did some IF-THEN-ELSE-syntax but the resulting indicator -1 | 0 | +1 is not set correctly&lt;/P&gt;&lt;P&gt;IF ( AND( a&amp;lt;0, p&amp;lt;0 ), a | &amp;lt; | = | &amp;gt; p ) is varying the relations only, but anyway there is a positive development indicated, although not positive logically...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: a=-6, p=-4 leads to a &amp;lt; p the delta is (a-p) = -2, the movement is 2 points DOWN., but it is shown as upward-movement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually I am stuck on this and kindly request your input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 14:08:59 GMT</pubDate>
    <dc:creator>thomasreick</dc:creator>
    <dc:date>2022-10-13T14:08:59Z</dc:date>
    <item>
      <title>how to... Create Measure to identify "direction" of development ofranking from two periods</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2839883#M90714</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I would like to create a measure to indicate the development of rankings per item from two periods (RankActual=a, RankPrevious=p). Because both values might be &amp;lt;0 or &amp;gt; 0 or = 0, I need a hint how to handle that in a smart way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My approach seems not good. I did some IF-THEN-ELSE-syntax but the resulting indicator -1 | 0 | +1 is not set correctly&lt;/P&gt;&lt;P&gt;IF ( AND( a&amp;lt;0, p&amp;lt;0 ), a | &amp;lt; | = | &amp;gt; p ) is varying the relations only, but anyway there is a positive development indicated, although not positive logically...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: a=-6, p=-4 leads to a &amp;lt; p the delta is (a-p) = -2, the movement is 2 points DOWN., but it is shown as upward-movement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually I am stuck on this and kindly request your input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 14:08:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2839883#M90714</guid>
      <dc:creator>thomasreick</dc:creator>
      <dc:date>2022-10-13T14:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to... Create Measure to identify "direction" of development ofranking from two periods</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2839910#M90718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case use abs(a)-abs(p) it should give +2&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 14:18:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2839910#M90718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to... Create Measure to identify "direction" of development ofranking from two periods</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2842045#M90818</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="305272" data-lia-user-login="thomasreick" class="lia-mention lia-mention-user"&gt;thomasreick&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you want if a &amp;lt; p, it should be down and if a &amp;gt; = p, it should be up?&lt;/P&gt;
&lt;P&gt;May be you can try: IF( a &amp;lt; p, p - a, a - p)&lt;/P&gt;
&lt;P&gt;What do you mean "it is shown as upward-movement"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Yinliw&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 09:29:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2842045#M90818</guid>
      <dc:creator>v-yinliw-msft</dc:creator>
      <dc:date>2022-10-14T09:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to... Create Measure to identify "direction" of development ofranking from two periods</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2842190#M90823</link>
      <description>&lt;DIV class=""&gt;Hello v-yinliw-msft,&lt;/DIV&gt;&lt;DIV class=""&gt;thx for your input. I will give it a try.&lt;/DIV&gt;&lt;DIV class=""&gt;Upward movement means, that I want to indicate for readability the direction of development with a unichar-character to show the direction also for negative ranks.&lt;/DIV&gt;&lt;DIV class=""&gt;According to above example a=-6, p=-4 is a negative development of -2, the direction should be indictated with unichar(11167), an arrow pointing down in a separate field&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Oct 2022 10:12:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-Create-Measure-to-identify-quot-direction-quot-of/m-p/2842190#M90823</guid>
      <dc:creator>thomasreick</dc:creator>
      <dc:date>2022-10-14T10:12:36Z</dc:date>
    </item>
  </channel>
</rss>

