<?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 with Legends.Show Data Label only for Current Month in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Line-chart-with-Legends-Show-Data-Label-only-for-Current-Month/m-p/4743082#M12616</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1294682"&gt;@Brijith&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use below dax and apply in font colour fromat option.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;MAX 23 =&lt;/DIV&gt;&lt;DIV class=""&gt;VAR GetAllMarket = ALLSELECTED(Query1[MATURITY_DATE].[Day])&lt;/DIV&gt;&lt;DIV class=""&gt;VAR GetMaxValue= MAXX(GetAllMarket, CALCULATE([Os in Crs]))&lt;/DIV&gt;&lt;DIV class=""&gt;VAR GetMinValue= MINX(GetAllMarket, CALCULATE([Os in Crs]))&lt;/DIV&gt;&lt;DIV class=""&gt;RETURN&lt;/DIV&gt;&lt;DIV class=""&gt;IF([Os in Crs] = GetMaxValue,"Black",IF([Os in Crs] = GetMinValue,"Red","white")&lt;/DIV&gt;&lt;DIV class=""&gt;)&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-25 112852.jpg" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1278727iF7B6D3F04573BF05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-06-25 112852.jpg" alt="Screenshot 2025-06-25 112852.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;If you got your solution please click on like button.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Regards&lt;/DIV&gt;&lt;DIV class=""&gt;Balakrishna&lt;/DIV&gt;&lt;DIV class=""&gt;Sr. Power-BI Developer&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 25 Jun 2025 05:59:45 GMT</pubDate>
    <dc:creator>121Balu</dc:creator>
    <dc:date>2025-06-25T05:59:45Z</dc:date>
    <item>
      <title>Line chart with Legends.Show Data Label only for Current Month</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Line-chart-with-Legends-Show-Data-Label-only-for-Current-Month/m-p/4742647#M12615</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-25 083821.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1278749i318234AFF6E6D307/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-25 083821.png" alt="Screenshot 2025-06-25 083821.png" /&gt;&lt;/span&gt;I have a Line Chart in Power BI with a legend (e.g., "Actual", "Forecast", etc.).&lt;BR /&gt;The X-axis is 'dim_Calendar'[Year Month] (formatted as "yyyy-MMM", not a date hierarchy).&lt;BR /&gt;The Y-axis is a measure: Cumulative Count .&lt;BR /&gt;The Legend is 'Dates'[Date Category].&amp;nbsp;&lt;STRONG&gt; ("Actual", "Forecast".)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I want to: Show a vertical line at the current month (e.g., June 2025). Display data labels only at that point (i.e., for June 2025) for all legend series. The X-axis spans from May 2024 to March 2027, and I want this to work dynamically — so that next month, the vertical line and labels shift to July 2025, and so on.&lt;BR /&gt;&lt;BR /&gt;The following image is in the tooltip when I point to May with the mouse. So my requirement is can we show the tooltip permanently for current month&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 07:43:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Line-chart-with-Legends-Show-Data-Label-only-for-Current-Month/m-p/4742647#M12615</guid>
      <dc:creator>Brijith</dc:creator>
      <dc:date>2025-06-25T07:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart with Legends.Show Data Label only for Current Month</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Line-chart-with-Legends-Show-Data-Label-only-for-Current-Month/m-p/4743082#M12616</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1294682"&gt;@Brijith&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use below dax and apply in font colour fromat option.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;MAX 23 =&lt;/DIV&gt;&lt;DIV class=""&gt;VAR GetAllMarket = ALLSELECTED(Query1[MATURITY_DATE].[Day])&lt;/DIV&gt;&lt;DIV class=""&gt;VAR GetMaxValue= MAXX(GetAllMarket, CALCULATE([Os in Crs]))&lt;/DIV&gt;&lt;DIV class=""&gt;VAR GetMinValue= MINX(GetAllMarket, CALCULATE([Os in Crs]))&lt;/DIV&gt;&lt;DIV class=""&gt;RETURN&lt;/DIV&gt;&lt;DIV class=""&gt;IF([Os in Crs] = GetMaxValue,"Black",IF([Os in Crs] = GetMinValue,"Red","white")&lt;/DIV&gt;&lt;DIV class=""&gt;)&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-25 112852.jpg" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1278727iF7B6D3F04573BF05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-06-25 112852.jpg" alt="Screenshot 2025-06-25 112852.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;If you got your solution please click on like button.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Regards&lt;/DIV&gt;&lt;DIV class=""&gt;Balakrishna&lt;/DIV&gt;&lt;DIV class=""&gt;Sr. Power-BI Developer&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Jun 2025 05:59:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Line-chart-with-Legends-Show-Data-Label-only-for-Current-Month/m-p/4743082#M12616</guid>
      <dc:creator>121Balu</dc:creator>
      <dc:date>2025-06-25T05:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart with Legends.Show Data Label only for Current Month</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Line-chart-with-Legends-Show-Data-Label-only-for-Current-Month/m-p/4743536#M12617</link>
      <description>&lt;P&gt;Thanks balakishan, I have the line. But what I want is a data label (like the tool tip that shows the data ) for current month&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 10:54:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Line-chart-with-Legends-Show-Data-Label-only-for-Current-Month/m-p/4743536#M12617</guid>
      <dc:creator>Brijith</dc:creator>
      <dc:date>2025-06-25T10:54:42Z</dc:date>
    </item>
  </channel>
</rss>

