<?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: Issue with graph in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Issue-with-graph/m-p/5141228#M13110</link>
    <description>&lt;H3 data-section-id="p6yi83" data-start="474" data-end="525"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;STRONG&gt;Step 1) Create a calculated column for display&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P data-start="527" data-end="546"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;In your Date table:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Axis Label :=
VAR YearNum = YEAR('Date'[Date])
RETURN
SWITCH(
    TRUE(),
    YearNum = 2026, FORMAT('Date'[Date], "MMM"),
    FORMAT('Date'[Date], "YYYY")
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;STRONG&gt;Step 2) Create a sort column&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Axis Sort :=
VAR YearNum = YEAR('Date'[Date])
VAR MonthNum = MONTH('Date'[Date])
RETURN
IF(
    YearNum = 2026,
    202600 + MonthNum,   -- Jan=202601, Feb=202602...
    YearNum * 100        -- 2024 → 202400, 2025 → 202500
)&lt;/LI-CODE&gt;
&lt;P data-start="1012" data-end="1017"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Then:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL data-start="1018" data-end="1065"&gt;
&lt;LI data-section-id="1fcispx" data-start="1018" data-end="1041"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Select Axis Label&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI data-section-id="17cfx3k" data-start="1042" data-end="1065"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Sort by Axis Sort&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;STRONG&gt;Step 3)&amp;nbsp; Use this in your chart&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Axis → Axis Label &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Values → your measure&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2026 14:35:51 GMT</pubDate>
    <dc:creator>cengizhanarslan</dc:creator>
    <dc:date>2026-03-30T14:35:51Z</dc:date>
    <item>
      <title>Issue with graph</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Issue-with-graph/m-p/5140929#M13106</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an issue with my graph.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show in the same graph data for 3 years 2024 2025 and 2026.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Howevre, i want one single bar for 2024 and 2025 and a monthly view for 2026, so 12 bars.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use drill down, the drill down is done an all periods and i can't chose only a drill down for 2026.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if it is possible to di that ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 08:31:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Issue-with-graph/m-p/5140929#M13106</guid>
      <dc:creator>Robin73000</dc:creator>
      <dc:date>2026-03-30T08:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with graph</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Issue-with-graph/m-p/5141155#M13108</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1572969"&gt;@Robin73000&lt;/a&gt;&amp;nbsp;Hi!&lt;/P&gt;
&lt;P&gt;This is a known limitation in Power BI: drill-down is applied to the entire axis and cannot be restricted to a single year. As a result, it isn’t possible to expand only 2026 to the monthly level while keeping 2024 and 2025 aggregated when using the standard date hierarchy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a workaround, use a custom axis like this (calculated column in your calendar table):&lt;/P&gt;
&lt;P&gt;Custom Axis =&lt;BR /&gt;IF(&lt;BR /&gt;'Calendar'[Year] = 2026,&lt;BR /&gt;FORMAT('Calendar'[Date], "MMM YYYY"),&lt;BR /&gt;FORMAT('Calendar'[Year], "0000")&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sort this column by this one:&lt;/P&gt;
&lt;P&gt;Custom Axis Order =&lt;BR /&gt;IF(&lt;BR /&gt;'Calendar'[Year] = 2026,&lt;BR /&gt;YEAR('Calendar'[Date]) * 100 + MONTH('Calendar'[Date]),&lt;BR /&gt;'Calendar'[Year] * 100&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;
&lt;DIV style="font-family: Segoe UI, sans-serif; font-size: 14px; line-height: 1.2;"&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; &lt;STRONG&gt;Did I answer your question?&lt;/STRONG&gt; Mark my post as a solution! &lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; Kudos are appreciated &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":fire:"&gt;🔥&lt;/span&gt; Proud to be a Super User!&lt;/STRONG&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Community News image 1920X1080.png" style="width: 150px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1238084iB989B7DAABABDDDF/image-size/large?v=v2&amp;amp;px=999" width="150" role="button" title="Community News image 1920X1080.png" alt="Community News image 1920X1080.png" /&gt;&lt;/span&gt; &lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Mar 2026 13:13:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Issue-with-graph/m-p/5141155#M13108</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2026-03-30T13:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with graph</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Issue-with-graph/m-p/5141228#M13110</link>
      <description>&lt;H3 data-section-id="p6yi83" data-start="474" data-end="525"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;STRONG&gt;Step 1) Create a calculated column for display&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P data-start="527" data-end="546"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;In your Date table:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Axis Label :=
VAR YearNum = YEAR('Date'[Date])
RETURN
SWITCH(
    TRUE(),
    YearNum = 2026, FORMAT('Date'[Date], "MMM"),
    FORMAT('Date'[Date], "YYYY")
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;STRONG&gt;Step 2) Create a sort column&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Axis Sort :=
VAR YearNum = YEAR('Date'[Date])
VAR MonthNum = MONTH('Date'[Date])
RETURN
IF(
    YearNum = 2026,
    202600 + MonthNum,   -- Jan=202601, Feb=202602...
    YearNum * 100        -- 2024 → 202400, 2025 → 202500
)&lt;/LI-CODE&gt;
&lt;P data-start="1012" data-end="1017"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Then:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL data-start="1018" data-end="1065"&gt;
&lt;LI data-section-id="1fcispx" data-start="1018" data-end="1041"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Select Axis Label&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI data-section-id="17cfx3k" data-start="1042" data-end="1065"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Sort by Axis Sort&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;STRONG&gt;Step 3)&amp;nbsp; Use this in your chart&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Axis → Axis Label &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Values → your measure&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 14:35:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Issue-with-graph/m-p/5141228#M13110</guid>
      <dc:creator>cengizhanarslan</dc:creator>
      <dc:date>2026-03-30T14:35:51Z</dc:date>
    </item>
  </channel>
</rss>

