<?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: Dynamic Chart Title based on Level of Hierarchy being displayed in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216993#M19678</link>
    <description>&lt;P&gt;Thanks for looking at this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that your current measure is just pickng up the ELSE statement "Fiscal Month" so if there is NO SCOPE (none on the title) then it just returns that value as there is no context for the title to work with.&amp;nbsp; I also beleive that the ISINSCOPE order needs to be from lowest level to highest of the hierarchy.&lt;BR /&gt;&lt;BR /&gt;I quickly created the example you used.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ISINSCOPE = 

VAR _inscope = 
SWITCH(
    TRUE(),
    ISINSCOPE('Date Table'[Fiscal Month]), "Fiscal Month",
    ISINSCOPE('Date Table'[Fiscal Quarter]), "Fiscal Quarter",
    ISINSCOPE('Date Table'[Fiscal Year]), "Fiscal Year",
"No Scope"
)

RETURN

_inscope&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is even more evident when you change this into a visual rather than a table.&amp;nbsp; The ISINSCOPE works as a tool tip (becuase it has context) but the title will always be No Scope&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TBH I am not even sure I was on the right track using ISINSCOPE...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 01:50:00 GMT</pubDate>
    <dc:creator>Carmichael01</dc:creator>
    <dc:date>2020-07-13T01:50:00Z</dc:date>
    <item>
      <title>Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216391#M19644</link>
      <description>&lt;P&gt;I would like to esentailly 're-create' the way a chart title changes when you move up and down a hierarchy as per the following;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dataandai.files.wordpress.com/2019/05/drill-up-and-down-title-change.gif?w=533&amp;amp;zoom=2" target="_blank" rel="noopener"&gt;https://dataandai.files.wordpress.com/2019/05/drill-up-and-down-title-change.gif?w=533&amp;amp;zoom=2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the automiatically generated title is too on so I want to shoten it bu keep the dynamic reference to the level of the hierarchy.&amp;nbsp; I initally tried ISINSCOPE and HASONEFILTER but these done work as expected - as per &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Position-in-drill-down-hierarchy-of-a-visual-in-the-absence-of/td-p/745026" target="_self"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I want to use in both maps as well as the curtom bullet chart visual.&amp;nbsp; The main aim is when the user is reading the report they can tell at which level they have drilled up/down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 00:01:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216391#M19644</guid>
      <dc:creator>Carmichael01</dc:creator>
      <dc:date>2020-07-13T00:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216730#M19663</link>
      <description>&lt;P&gt;"Don't work as expected" - please elaborate?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 18:13:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216730#M19663</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-12T18:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216922#M19675</link>
      <description>&lt;P&gt;Apologies - I have updated the inital post where I hadnt posted the correct link to another thread that describes the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is is again:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Position-in-drill-down-hierarchy-of-a-visual-in-the-absence-of/td-p/745026" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Position-in-drill-down-hierarchy-of-a-visual-in-the-absence-of/td-p/745026&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expected behaviour I am looking to acheive is the same as the native/standard Power BI title which changes to display the level of the hierarchy depending on where the user is (drill up and down).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ISINSCOPE only shows the level when it is used certain visuals /visual elelments.&amp;nbsp; It works in a table as each row context can be applied but it doesnt do the same in measure for the title.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HASONEFILTER only works if there is a filter applied which isn the case when using drill up/down in the hierachy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary - the best way to reframe the question is&amp;nbsp; "How do I recreate the native/standard BI title in a measure so that it references the level of the hierarchy being displayed/used in the visual?"&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 00:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216922#M19675</guid>
      <dc:creator>Carmichael01</dc:creator>
      <dc:date>2020-07-13T00:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216925#M19676</link>
      <description>&lt;P&gt;Your statement on ISINSCOPE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;ISINSCOPE only shows the level when it is used certain visuals /visual elelments.&amp;nbsp; It works in a table as each row context can be applied but it doesnt do the same in measure for the title."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is not what the doumentation says.&lt;A href="https://docs.microsoft.com/en-us/dax/isinscope-function-dax" target="_blank"&gt;&amp;nbsp;https://docs.microsoft.com/en-us/dax/isinscope-function-dax&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to use that function for your measure text computation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 00:37:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216925#M19676</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-13T00:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216933#M19677</link>
      <description>&lt;P&gt;I see your point. The matrix title is wired to Measure 4.&amp;nbsp; Interestingly enough the filter context for the individual items works correctly. It's the Totals that throw things off. But this should be manageable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 00:53:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216933#M19677</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-13T00:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216993#M19678</link>
      <description>&lt;P&gt;Thanks for looking at this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that your current measure is just pickng up the ELSE statement "Fiscal Month" so if there is NO SCOPE (none on the title) then it just returns that value as there is no context for the title to work with.&amp;nbsp; I also beleive that the ISINSCOPE order needs to be from lowest level to highest of the hierarchy.&lt;BR /&gt;&lt;BR /&gt;I quickly created the example you used.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ISINSCOPE = 

VAR _inscope = 
SWITCH(
    TRUE(),
    ISINSCOPE('Date Table'[Fiscal Month]), "Fiscal Month",
    ISINSCOPE('Date Table'[Fiscal Quarter]), "Fiscal Quarter",
    ISINSCOPE('Date Table'[Fiscal Year]), "Fiscal Year",
"No Scope"
)

RETURN

_inscope&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is even more evident when you change this into a visual rather than a table.&amp;nbsp; The ISINSCOPE works as a tool tip (becuase it has context) but the title will always be No Scope&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TBH I am not even sure I was on the right track using ISINSCOPE...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 01:50:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1216993#M19678</guid>
      <dc:creator>Carmichael01</dc:creator>
      <dc:date>2020-07-13T01:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1219684#M19786</link>
      <description>&lt;P&gt;Just trying to bump this.... anyone got any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 00:42:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1219684#M19786</guid>
      <dc:creator>Carmichael01</dc:creator>
      <dc:date>2020-07-14T00:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1337096#M23787</link>
      <description>&lt;P&gt;Having the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ISINSCOPE works if you drill down on a matrix for example or in the tooltip, but if you use a measure to dynamically show the level you are on the visual title, it does not seem to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any idea why?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 21:13:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/1337096#M23787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-31T21:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/2499441#M69061</link>
      <description>&lt;P&gt;Would still like to find a solution to this - Chart Title display current hierarchy level.&amp;nbsp; Works as Tool Tip, not for Chart Title.&amp;nbsp; Thanks for any tips!!&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 21:33:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/2499441#M69061</guid>
      <dc:creator>craigdormire</dc:creator>
      <dc:date>2022-05-06T21:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/2762109#M85645</link>
      <description>&lt;P&gt;Hi, I am facing a similar issue. Have you found any good solution for this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 13:44:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/2762109#M85645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-12T13:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/3074763#M106878</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;me too just want to apply this dynamic title based on hierarchy level, is there any new solution for this?&lt;/P&gt;&lt;P&gt;please advice, thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 14:25:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/3074763#M106878</guid>
      <dc:creator>biki</dc:creator>
      <dc:date>2023-02-10T14:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/3581585#M138162</link>
      <description>Also required! Thanks for any intel</description>
      <pubDate>Wed, 13 Dec 2023 09:56:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/3581585#M138162</guid>
      <dc:creator>Staverton_Ben</dc:creator>
      <dc:date>2023-12-13T09:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/4276662#M169680</link>
      <description>&lt;P&gt;I am trying to change the title to indicate if it is by year, quarter or month for line graph.&amp;nbsp; Does any one have a solution?&amp;nbsp; Tried ISINSCOPE but did not work, please advise!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 16:30:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/4276662#M169680</guid>
      <dc:creator>gatzkm</dc:creator>
      <dc:date>2024-11-09T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/4276664#M169681</link>
      <description>&lt;P&gt;Did you figure this out?&amp;nbsp; I am having the same issue, tried ISINSCOPE and did not work:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 16:32:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/4276664#M169681</guid>
      <dc:creator>gatzkm</dc:creator>
      <dc:date>2024-11-09T16:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart Title based on Level of Hierarchy being displayed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/4682933#M179358</link>
      <description>&lt;P&gt;If anyone is still hoping for a solution to this, I've submitted it as an idea on the Ideas forum:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Let-a-visual-title-and-Axes-read-displayed-hierarchy-level-with/idi-p/4682892" target="_blank" rel="noopener"&gt;Let a visual title and Axes read displayed hierarc... - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;Hopefully it gets traction.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 09:39:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Chart-Title-based-on-Level-of-Hierarchy-being-displayed/m-p/4682933#M179358</guid>
      <dc:creator>EOW</dc:creator>
      <dc:date>2025-05-07T09:39:28Z</dc:date>
    </item>
  </channel>
</rss>

