<?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 Dynamic Slicer – Show Fiscal Year for INR Country and Calendar Year for Others in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamic-Slicer-Show-Fiscal-Year-for-INR-Country-and-Calendar/m-p/5122469#M13082</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have a requirement to dynamically customize my date slicer based on country selection.&lt;/P&gt;&lt;H3&gt;Scenario:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If the user selects &lt;STRONG&gt;INR (India)&lt;/STRONG&gt; as the Country →&lt;BR /&gt;The slicer should display &lt;STRONG&gt;Fiscal Year&lt;/STRONG&gt; (Apr–Mar).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If the user selects any other country →&lt;BR /&gt;The slicer should display &lt;STRONG&gt;Normal Calendar Year&lt;/STRONG&gt; (Jan–Dec).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 27 Feb 2026 14:27:51 GMT</pubDate>
    <dc:creator>Raja10ram</dc:creator>
    <dc:date>2026-02-27T14:27:51Z</dc:date>
    <item>
      <title>Dynamic Slicer – Show Fiscal Year for INR Country and Calendar Year for Others</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamic-Slicer-Show-Fiscal-Year-for-INR-Country-and-Calendar/m-p/5122469#M13082</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have a requirement to dynamically customize my date slicer based on country selection.&lt;/P&gt;&lt;H3&gt;Scenario:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If the user selects &lt;STRONG&gt;INR (India)&lt;/STRONG&gt; as the Country →&lt;BR /&gt;The slicer should display &lt;STRONG&gt;Fiscal Year&lt;/STRONG&gt; (Apr–Mar).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If the user selects any other country →&lt;BR /&gt;The slicer should display &lt;STRONG&gt;Normal Calendar Year&lt;/STRONG&gt; (Jan–Dec).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 27 Feb 2026 14:27:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamic-Slicer-Show-Fiscal-Year-for-INR-Country-and-Calendar/m-p/5122469#M13082</guid>
      <dc:creator>Raja10ram</dc:creator>
      <dc:date>2026-02-27T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Slicer – Show Fiscal Year for INR Country and Calendar Year for Others</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamic-Slicer-Show-Fiscal-Year-for-INR-Country-and-Calendar/m-p/5122570#M13083</link>
      <description>&lt;P&gt;Hi! Great requirement — this is totally doable in Power BI without any custom visual. The trick is to build both year types into your Calendar table and then use a calculated column to expose the right label based on a country slicer selection. Here's how I'd approach it:&lt;BR /&gt;Step 1 — Add both year columns to your Calendar table&lt;BR /&gt;daxFiscal Year =&lt;BR /&gt;"FY" &amp;amp; IF(MONTH('Calendar'[Date]) &amp;gt;= 4, YEAR('Calendar'[Date]), YEAR('Calendar'[Date]) - 1)&lt;BR /&gt;&amp;amp; "-" &amp;amp; RIGHT(TEXT(IF(MONTH('Calendar'[Date]) &amp;gt;= 4, YEAR('Calendar'[Date]) + 1, YEAR('Calendar'[Date])), "0000"), 2)&lt;BR /&gt;-- e.g. FY2024-25&lt;/P&gt;&lt;P&gt;Calendar Year = YEAR('Calendar'[Date])&lt;BR /&gt;Step 2 — Create a dynamic "Year Label" measure that reacts to the country slicer&lt;BR /&gt;daxYear Label =&lt;BR /&gt;VAR SelectedCountry = SELECTEDVALUE(Country[Country], "ALL")&lt;BR /&gt;RETURN&lt;BR /&gt;IF(&lt;BR /&gt;SelectedCountry = "INR",&lt;BR /&gt;SELECTEDVALUE('Calendar'[Fiscal Year]),&lt;BR /&gt;SELECTEDVALUE('Calendar'[Calendar Year])&lt;BR /&gt;)&lt;BR /&gt;Step 3 — Build the slicer&lt;BR /&gt;Since slicers need a column (not a measure), the cleanest approach is to add a combined column to your Calendar table in Power Query or as a calculated column:&lt;BR /&gt;daxYear Display =&lt;BR /&gt;IF(&lt;BR /&gt;RELATED(Country[Country]) = "INR",&lt;BR /&gt;'Calendar'[Fiscal Year],&lt;BR /&gt;FORMAT('Calendar'[Calendar Year], "0")&lt;BR /&gt;)&lt;BR /&gt;Then use Year Display as your slicer field. When the user picks INR from the country slicer, cross-filtering will surface only the fiscal year labels; for any other country, the calendar year labels appear.&lt;BR /&gt;One important thing to keep in mind — Power BI slicers filter by values, so if you have both fiscal and calendar years in the same column, make sure the sort order column is set correctly so they display chronologically and not alphabetically.&lt;BR /&gt;Hope that help&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 15:39:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamic-Slicer-Show-Fiscal-Year-for-INR-Country-and-Calendar/m-p/5122570#M13083</guid>
      <dc:creator>Juan-Power-bi</dc:creator>
      <dc:date>2026-02-27T15:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Slicer – Show Fiscal Year for INR Country and Calendar Year for Others</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamic-Slicer-Show-Fiscal-Year-for-INR-Country-and-Calendar/m-p/5123929#M13086</link>
      <description>&lt;P data-start="181" data-end="227"&gt;&lt;STRONG&gt;STEP 1) Create Required Columns in Date Table&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="229" data-end="250"&gt;Calendar Year column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Calendar Year = YEAR('Date'[Date])&lt;/LI-CODE&gt;
&lt;P data-start="288" data-end="317"&gt;Fiscal Year column (Apr–Mar):&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Fiscal Year = YEAR(EDATE('Date'[Date], -3))&lt;/LI-CODE&gt;
&lt;P data-start="364" data-end="386"&gt;Optional Fiscal Label:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Fiscal Year Label = "FY" &amp;amp; FORMAT([Fiscal Year], "0000")&lt;/LI-CODE&gt;
&lt;P data-start="498" data-end="534"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="498" data-end="534"&gt;&lt;STRONG&gt;STEP 2) Create Two Separate Slicers&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL data-start="536" data-end="734"&gt;
&lt;LI data-start="536" data-end="634"&gt;
&lt;P data-start="539" data-end="634"&gt;Calendar Year slicer&lt;BR data-start="559" data-end="562" /&gt;Field: Date[Calendar Year]&lt;BR data-start="588" data-end="591" /&gt;Rename in Selection Pane: Slicer_Calendar&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="636" data-end="734"&gt;
&lt;P data-start="639" data-end="734"&gt;Fiscal Year slicer&lt;BR data-start="657" data-end="660" /&gt;Field: Date[Fiscal Year Label]&lt;BR data-start="690" data-end="693" /&gt;Rename in Selection Pane: Slicer_Fiscal&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="736" data-end="807"&gt;Place both slicers in the same location (stacked on top of each other).&lt;/P&gt;
&lt;P data-start="861" data-end="886"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="861" data-end="886"&gt;&lt;STRONG&gt;STEP 3) Create Bookmarks&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="888" data-end="947"&gt;Go to View → Selection Pane&lt;BR data-start="915" data-end="918" /&gt;Go to View → Bookmarks Pane&lt;/P&gt;
&lt;P data-start="949" data-end="967"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="949" data-end="967"&gt;Create Bookmark 1:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px" data-start="969" data-end="1123"&gt;• Show Slicer_Calendar&lt;BR data-start="991" data-end="994" /&gt;• Hide Slicer_Fiscal&lt;BR data-start="1014" data-end="1017" /&gt;• Add Bookmark&lt;BR data-start="1031" data-end="1034" /&gt;• Name: Calendar View&lt;BR data-start="1055" data-end="1058" /&gt;• Uncheck "Data"&amp;nbsp;&lt;BR data-start="1091" data-end="1094" /&gt;• Keep only Display checked&lt;/P&gt;
&lt;P data-start="969" data-end="1123"&gt;Create Bookmark 2:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px" data-start="1145" data-end="1280"&gt;• Show Slicer_Fiscal&lt;BR data-start="1165" data-end="1168" /&gt;• Hide Slicer_Calendar&lt;BR data-start="1190" data-end="1193" /&gt;• Add Bookmark&lt;BR data-start="1207" data-end="1210" /&gt;• Name: Fiscal View&lt;BR data-start="1229" data-end="1232" /&gt;• Uncheck "Data"&lt;BR data-start="1248" data-end="1251" /&gt;• Keep only Display checked&lt;/P&gt;
&lt;P data-start="1334" data-end="1364"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1334" data-end="1364"&gt;&lt;STRONG&gt;STEP 4) Add Buttons to Toggle&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="1366" data-end="1392"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI data-start="1337" data-end="1391"&gt;
&lt;P data-start="1340" data-end="1391"&gt;Insert → Buttons → Navigator → Bookmark Navigator&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1393" data-end="1485"&gt;
&lt;P data-start="1396" data-end="1485"&gt;In Format pane:&lt;/P&gt;
Select only these two bookmarks:
&lt;UL&gt;
&lt;LI data-start="1393" data-end="1485"&gt;
&lt;P data-start="1396" data-end="1485"&gt;Calendar View&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1393" data-end="1485"&gt;
&lt;P data-start="1396" data-end="1485"&gt;Fiscal View&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-start="1487" data-end="1531"&gt;
&lt;P data-start="1490" data-end="1531"&gt;Style it as Tabs or Buttons&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 01 Mar 2026 10:45:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Dynamic-Slicer-Show-Fiscal-Year-for-INR-Country-and-Calendar/m-p/5123929#M13086</guid>
      <dc:creator>cengizhanarslan</dc:creator>
      <dc:date>2026-03-01T10:45:54Z</dc:date>
    </item>
  </channel>
</rss>

