<?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: Normalize Numeric Data in Quick Measures Gallery</title>
    <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/1796147#M693</link>
    <description>&lt;P&gt;check this for excluding a filter:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#control-which-page-visuals-are-affected-by-slicers" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#control-which-page-visuals-are-affected-by-slicers&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 23:04:41 GMT</pubDate>
    <dc:creator>sweetstar</dc:creator>
    <dc:date>2021-04-20T23:04:41Z</dc:date>
    <item>
      <title>Normalize Numeric Data</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/221651#M48</link>
      <description>&lt;P&gt;Normalize numeric data from several independent ranges to a uniform scale ranging from 0 to 1. This can be used as a precursor for clustering, creating parallel coordinates plots, and more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follows formula:&lt;/P&gt;
&lt;PRE class="lang-r prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;x&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;min&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;x&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;))/(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;max&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;x&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;)-&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;min&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;x&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;))&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using the DAX measure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Normalized Value = 
VAR MinOfGroup = CALCULATE(MIN('Table'[Value]),ALLEXCEPT('Table','Table'[GroupAttribute]))
VAR MaxOfGroup = CALCULATE(MAX('Table'[Value]),ALLEXCEPT('Table','Table'[GroupAttribute]))
VAR DetailValue = MAX('Table'[Value])
RETURN DIVIDE(DetailValue - MinOfGroup,MaxOfGroup - MinOfGroup,0)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="reportid hidden"&gt;eyJrIjoiNGM5NTJjMmQtZjZlOS00YjZjLWIwOGItZTlkNTJiMDM2YzNlIiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 18:26:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/221651#M48</guid>
      <dc:creator>deldersveld</dc:creator>
      <dc:date>2017-07-30T18:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Numeric Data</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/565382#M244</link>
      <description>&lt;P&gt;How did you create the image of all the lines for the cars that were not selected in the background?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 19:59:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/565382#M244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-13T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Numeric Data</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/565391#M245</link>
      <description>&lt;P&gt;There are two line charts overlaid one on the other. The background one has consistent color for all lines, and the visual interactions are set so that car slicer will only filter the top line chart and not the background one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wrote a bit about the technique deep into this blog post:&amp;nbsp;&lt;A href="https://dataveld.com/2017/05/06/throwing-a-curve-at-the-power-bi-line-chart/" target="_blank"&gt;https://dataveld.com/2017/05/06/throwing-a-curve-at-the-power-bi-line-chart/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;If you would like to add other visuals to the report, crossfiltering will be an issue since the line chart does not allow highlighting. In this case, an overlay can be beneficial.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;This technique works for any line chart by the way, not just this curved one.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;By disabling the visual interaction for the “underlay” and setting a static Y Axis range for the overlay but keeping the default interaction set to filter, you can get a highlighting effect."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 20:12:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/565391#M245</guid>
      <dc:creator>deldersveld</dc:creator>
      <dc:date>2018-11-13T20:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Numeric Data</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/1796147#M693</link>
      <description>&lt;P&gt;check this for excluding a filter:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#control-which-page-visuals-are-affected-by-slicers" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#control-which-page-visuals-are-affected-by-slicers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 23:04:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/1796147#M693</guid>
      <dc:creator>sweetstar</dc:creator>
      <dc:date>2021-04-20T23:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Numeric Data</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/3372873#M993</link>
      <description>&lt;P&gt;Hi, Thanks for the article.&lt;/P&gt;&lt;P&gt;I have one question. Why did you use MAX(Table[Value]) for each data point? Wouldnt it return the max value for the whole "value" column, while w need the current cell value here.&lt;/P&gt;&lt;PRE&gt;VAR DetailValue = MAX('Table'[Value])&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 19:31:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Normalize-Numeric-Data/m-p/3372873#M993</guid>
      <dc:creator>SKan</dc:creator>
      <dc:date>2023-08-09T19:31:21Z</dc:date>
    </item>
  </channel>
</rss>

