<?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: small() in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/641977#M1885</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is unclear what is your issue. Could you please provide some screens with more deep explanation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 14:19:22 GMT</pubDate>
    <dc:creator>v-evelk</dc:creator>
    <dc:date>2019-03-11T14:19:22Z</dc:date>
    <item>
      <title>small()</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/640548#M1879</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following problem. I have a sample of merchandise movements between different stores and the time (in minutes) that took those movements (reaction time), this is due to higher demand than planned so we have to move inventory between stores.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, one of my KPI is the reaction time that covers the 90% of my movements. So technically I have to rank all of my movements in a given period of time, and select the one that covers the 90% of them. This KPI is measured by city, state and per country so the ranking has to be dinamic so the indicator has to recalculate depending of what you are looking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 15:24:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/640548#M1879</guid>
      <dc:creator>JGARIN</dc:creator>
      <dc:date>2019-03-08T15:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: small()</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/641977#M1885</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is unclear what is your issue. Could you please provide some screens with more deep explanation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 14:19:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/641977#M1885</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-03-11T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: small()</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/642045#M1889</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following sample of information of 2 cities, Miami and Boston, both from the USA:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="imagen.PNG" style="width: 561px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/151604iBEA2669C881B77B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="imagen.PNG" alt="imagen.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My KPI works the following way, we can calculate it at a City level (Miami/Boston) or at a country level (USA) so...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the USA&lt;/P&gt;&lt;P&gt;First, if we are measuring the time of reaction of the country USA we have a total of 20 movements right? (one per row)&lt;/P&gt;&lt;P&gt;Then we rank the time of reaction of those movements from 1 to 20&lt;/P&gt;&lt;P&gt;Then we calculate the 90% of 20 = 18&lt;/P&gt;&lt;P&gt;So finally the value of the KPI for USA is the time of reaction at the 18th position of our rank, in this case is 98 minutes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand for Boston (for example)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, if we are measuring the time of reaction of the city Boston we have a total of 10 movements&lt;/P&gt;&lt;P&gt;Then we rank the time of reaction of those movements from 1 to 10&lt;/P&gt;&lt;P&gt;Then we calculate the 90% of 10 = 9&lt;/P&gt;&lt;P&gt;So finally the value of the KPI for USA is the time of reaction at the 9th, in this other case is 80 minutes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we reply the excercise for Miami, the KPI is 98 minutes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, if its hard to get, my english is not very good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 15:27:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/642045#M1889</guid>
      <dc:creator>JGARIN</dc:creator>
      <dc:date>2019-03-11T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: small()</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/643083#M1893</link>
      <description>&lt;P&gt;So, do you want to create a new visual to show this calculation or you look for an existing visual that can cover this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:52:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/643083#M1893</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-03-12T14:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: small()</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/643120#M1895</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to figure it out how to calculate first&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:24:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/643120#M1895</guid>
      <dc:creator>JGARIN</dc:creator>
      <dc:date>2019-03-12T15:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: small()</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/644153#M1905</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try to build or take a visual that accepts couple of buckets.&lt;/P&gt;&lt;P&gt;The frist bucket accepts categories fields, the second accepts measures fields.&lt;/P&gt;&lt;P&gt;Categories are grouping fields, usually some strings or dates.&lt;/P&gt;&lt;P&gt;Measures are value fields, usually numbers. Measures obligatory apply some grouping function as sum, avg, first, last, etc&lt;/P&gt;&lt;P&gt;But it looks like that you need to program custom logic that takes 90% of summed up measure field value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose that some Gauge visuals can cover your task but I am not sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 13:17:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/small/m-p/644153#M1905</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-03-13T13:17:20Z</dc:date>
    </item>
  </channel>
</rss>

