<?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: Line Chart: how to warn when values differences between two lines when exceeding a threshold in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/39229#M1199</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks for providing solution...&lt;/P&gt;&lt;P&gt;One more help required..kindly guide me on how to send alert in form of an email if the difference of value/target exceeds a threshold limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;GK&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2016 11:05:33 GMT</pubDate>
    <dc:creator>gkhare</dc:creator>
    <dc:date>2016-05-30T11:05:33Z</dc:date>
    <item>
      <title>Line Chart: how to warn when values differences between two lines when exceeding a threshold</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/19741#M285</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a line chart which displays two lines representing two temporal series: I'd like to highlight somehow when the difference between the values of the two lines exceed a threshold, any clue&amp;nbsp;- example about it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:18:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/19741#M285</guid>
      <dc:creator>laciodrom_80</dc:creator>
      <dc:date>2016-02-19T16:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart: how to warn when values differences between two lines when exceeding a threshold</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/38890#M1188</link>
      <description>&lt;P&gt;Hello Luca,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I' am also stuck with the same scenario where I need to ive a warning message/pop up if for eg sales target are not achieved etc..&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found solution to the above then please guide me as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 06:39:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/38890#M1188</guid>
      <dc:creator>gkhare</dc:creator>
      <dc:date>2016-05-27T06:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart: how to warn when values differences between two lines when exceeding a threshold</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/39114#M1194</link>
      <description>&lt;P&gt;I don't think the line chart visual offers this kind of behavior. The closest thing it has is the reference line, but I guess it's not what you're looking for. The best option I can think of at the moment is to create two calculated columns for each column displayed on the line chart, defined as follows:&lt;/P&gt;&lt;P&gt;1. &lt;EM&gt;ColNameBelowThreshold &lt;/EM&gt;= IF([&lt;EM&gt;ColName&lt;/EM&gt;] &amp;lt;= &lt;EM&gt;threshold&lt;/EM&gt;,&amp;nbsp;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;EM&gt;ColName&lt;/EM&gt;&lt;SPAN&gt;], BLANK());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. &lt;EM&gt;ColNameOver&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;Threshold &lt;/EM&gt;= IF([&lt;/SPAN&gt;&lt;EM&gt;ColName&lt;/EM&gt;&lt;SPAN&gt;] &amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;threshold&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;EM&gt;ColName&lt;/EM&gt;&lt;SPAN&gt;], BLANK());&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;3.&amp;nbsp;&lt;EM&gt;threshold&lt;/EM&gt; can be a variable, a static value, or a calculation of some sort that represents the desired threshold.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;4. You might need to tweak&amp;nbsp;the above formulas a bit, depending on your data, so that one line would pick up where the other one ends.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;You could&amp;nbsp;then display them both on the line chart, and give&amp;nbsp;&lt;EM&gt;ColNameOver&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;Threshold &lt;/EM&gt;a different color in the "Data Colors" menu in the formatting pane to make it apprear highlighted.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 May 2016 07:30:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/39114#M1194</guid>
      <dc:creator>itayrom</dc:creator>
      <dc:date>2016-05-29T07:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart: how to warn when values differences between two lines when exceeding a threshold</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/39116#M1195</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/4709"&gt;@gkhare﻿&lt;/a&gt;, regarding&amp;nbsp;your case, what I would do is as follows:&lt;/P&gt;&lt;P&gt;1. Add a measure with a DAX formula&amp;nbsp;with the following structure-&amp;nbsp;&lt;EM&gt;TagetsNotAchieved&lt;/EM&gt; = IF(&lt;EM&gt;calculation&lt;/EM&gt;, &lt;EM&gt;warning_msg&lt;/EM&gt;, &lt;EM&gt;else_msg&lt;/EM&gt;), where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;calculation&lt;/EM&gt; is a calculation to check if the target was achieved(E.g. SUM([Sales]) &amp;gt;=&amp;nbsp;&lt;EM&gt;target&lt;/EM&gt;).&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;warning_msg&lt;/EM&gt; is a static textual to be shown when the target was not achieved(E.g. "Sales target is not achieved").&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;else_msg&lt;/EM&gt; is a static textual value&amp;nbsp;&lt;SPAN&gt;to be shown when the target was achieved,or an empty string(I.e. "") if you don't want a message to be shown.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;2. Add a card visual to your report, and set the&amp;nbsp;&lt;EM&gt;TagetsNotAchieved&lt;/EM&gt; measure as its field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Change the Card's formatting to make it look more "warningy".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 May 2016 08:00:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/39116#M1195</guid>
      <dc:creator>itayrom</dc:creator>
      <dc:date>2016-05-29T08:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart: how to warn when values differences between two lines when exceeding a threshold</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/39229#M1199</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks for providing solution...&lt;/P&gt;&lt;P&gt;One more help required..kindly guide me on how to send alert in form of an email if the difference of value/target exceeds a threshold limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;GK&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 11:05:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/39229#M1199</guid>
      <dc:creator>gkhare</dc:creator>
      <dc:date>2016-05-30T11:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart: how to warn when values differences between two lines when exceeding a threshold</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/40504#M1236</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/4709"&gt;@gkhare﻿&lt;/a&gt;, I hardly think Microsoft would provide a way for&amp;nbsp;sending emails from custom visuals, since it poses a great security risk. E.g. you could&amp;nbsp;write a custom visual that would send you confidential data from corporations using it. Therefore, I'm pretty sure that custom visuals running in a&amp;nbsp;sandboxed environment would not be able to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In theory, though, if that functionality&amp;nbsp;wasn't&amp;nbsp;blocked, I would use ajax to notify a remote server with email-sending capabilities that the threshold was exceeded.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2016 11:41:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/40504#M1236</guid>
      <dc:creator>itayrom</dc:creator>
      <dc:date>2016-06-05T11:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart: how to warn when values differences between two lines when exceeding a threshold</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/40564#M1242</link>
      <description>&lt;P&gt;Many thanks Itayrom&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 06:03:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-Chart-how-to-warn-when-values-differences-between-two-lines/m-p/40564#M1242</guid>
      <dc:creator>gkhare</dc:creator>
      <dc:date>2016-06-06T06:03:41Z</dc:date>
    </item>
  </channel>
</rss>

