<?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 and Tachometer interaction in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Line-chart-and-Tachometer-interaction/m-p/2999895#M40557</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/276903"&gt;@devika&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _a = ADDCOLUMNS(ALL(Sheet1),"YearQuarter",YEAR([Month])*10+QUARTER([Month]))
var _b = MAXX(_a,[YearQuarter])
var _c = MAXX(FILTER(_a,[YearQuarter]&amp;lt;_b),[YearQuarter])
return IF(ISCROSSFILTERED(Sheet1[Sales Amt]),SUM(Sheet1[Sales Amt]),CALCULATE(SUM(Sheet1[Sales Amt]),FILTER(_a,[YearQuarter]=_c)))&lt;/LI-CODE&gt;
&lt;P&gt;Apply it to&amp;nbsp;Tachometer&lt;/P&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vjianbolimsft_0-1672802244444.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/849461i1C6F1117E052443B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vjianbolimsft_0-1672802244444.png" alt="vjianbolimsft_0-1672802244444.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;Jianbo Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2023 03:17:53 GMT</pubDate>
    <dc:creator>v-jianboli-msft</dc:creator>
    <dc:date>2023-01-04T03:17:53Z</dc:date>
    <item>
      <title>Line chart and Tachometer interaction</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-chart-and-Tachometer-interaction/m-p/2999613#M40554</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm looking to build a line chart and tachometer interactively.&lt;/P&gt;&lt;P&gt;The tachometer graph should default to the last quarter whenever the report is opened.&lt;/P&gt;&lt;P&gt;I have solved showing it to default to the last quarter by adding the filter to the visual.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devika_0-1672786642577.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/849376i148C76794E2D3E4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devika_0-1672786642577.png" alt="devika_0-1672786642577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when the user hovers over the line chart, the gauge chart should show the values of that data point, but it is showing blank.&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="devika_1-1672786668260.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/849377iF12D904BFE507821/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devika_1-1672786668260.png" alt="devika_1-1672786668260.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the data table&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="devika_2-1672786771080.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/849378i56C22B38E1D876D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devika_2-1672786771080.png" alt="devika_2-1672786771080.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fields Pane:&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="devika_3-1672787346532.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/849386iE272AE3A92E3F689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devika_3-1672787346532.png" alt="devika_3-1672787346532.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( I have got dummy data here, but above is the concept I'm trying to work out)&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 23:09:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-chart-and-Tachometer-interaction/m-p/2999613#M40554</guid>
      <dc:creator>devika</dc:creator>
      <dc:date>2023-01-03T23:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart and Tachometer interaction</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-chart-and-Tachometer-interaction/m-p/2999895#M40557</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/276903"&gt;@devika&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _a = ADDCOLUMNS(ALL(Sheet1),"YearQuarter",YEAR([Month])*10+QUARTER([Month]))
var _b = MAXX(_a,[YearQuarter])
var _c = MAXX(FILTER(_a,[YearQuarter]&amp;lt;_b),[YearQuarter])
return IF(ISCROSSFILTERED(Sheet1[Sales Amt]),SUM(Sheet1[Sales Amt]),CALCULATE(SUM(Sheet1[Sales Amt]),FILTER(_a,[YearQuarter]=_c)))&lt;/LI-CODE&gt;
&lt;P&gt;Apply it to&amp;nbsp;Tachometer&lt;/P&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vjianbolimsft_0-1672802244444.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/849461i1C6F1117E052443B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vjianbolimsft_0-1672802244444.png" alt="vjianbolimsft_0-1672802244444.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;Jianbo Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 03:17:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-chart-and-Tachometer-interaction/m-p/2999895#M40557</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2023-01-04T03:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart and Tachometer interaction</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Line-chart-and-Tachometer-interaction/m-p/3000061#M40560</link>
      <description>&lt;P&gt;Thanks for your time solving it and it is working as expected&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 05:57:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Line-chart-and-Tachometer-interaction/m-p/3000061#M40560</guid>
      <dc:creator>devika</dc:creator>
      <dc:date>2023-01-04T05:57:32Z</dc:date>
    </item>
  </channel>
</rss>

