<?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 Goals Reporting - Linking a Goal to a Subgoal (or a Sub-Sub-Goal...) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/2317574#M57786</link>
    <description>&lt;P&gt;I've just started working with Goals and have a requirement to summarise some of the goal progress in a report for ease of use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within the goals framework I have two overarching goals.&amp;nbsp; One of them has six sub-sections (subgoals) and within those there are a number of subsequent subgoals (and sometimes a further subgoal under that).&amp;nbsp; So typically it looks like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Main Goal (Effectively a "master heading" goal).&amp;nbsp; E.g. &lt;EM&gt;&lt;STRONG&gt;Implement BI Goals by 2023 (ID 1, for example)&lt;/STRONG&gt;&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;Subgoal under this.&amp;nbsp; E.g. &lt;EM&gt;&lt;STRONG&gt;Prepare key objectives (ID 1-1, Parent ID 1)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;Subgoal under this.&amp;nbsp; E.g.&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Identify 2022 milestones (ID 1-1-1, Parent ID 1-1)&lt;/STRONG&gt;&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;(Possibly) subgoal under this.&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;E.g. Send user requirements by end of Q2 (ID1-1-1-1, Parent ID 1-1-1 etc)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My end user is looking to see at a glance which "major" goals aren't yet completed (example in red), and their associated notes.&amp;nbsp; So this means using a filter - probably a slicer - to identify the main goal, I've done that and it looks fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do next though is create an associated matrix of subgoals &lt;U&gt;under that parent ID&lt;/U&gt; with their status/notes etc.&amp;nbsp; This is where I'm stuck - I'm unsure how to tell the matrix to reference the parent ID of the item selected in the &lt;EM&gt;slicer&lt;/EM&gt;, and thus return the associated entries.&amp;nbsp; Since Goals is quite tightly locked down I can access the PBIX file but I can't edit relationships or see the data tables (everything is connected to the dataset, but nothing is held locally), which leaves me largely relying on DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone managed to do anything similar with it yet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Largely useless) example file:&amp;nbsp;&lt;A href="https://www.dropbox.com/s/2remz46phv6d0c6/Example%20Scorecard.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/2remz46phv6d0c6/Example%20Scorecard.pbix?dl=0&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 11:51:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-03T11:51:03Z</dc:date>
    <item>
      <title>Goals Reporting - Linking a Goal to a Subgoal (or a Sub-Sub-Goal...)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/2317574#M57786</link>
      <description>&lt;P&gt;I've just started working with Goals and have a requirement to summarise some of the goal progress in a report for ease of use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within the goals framework I have two overarching goals.&amp;nbsp; One of them has six sub-sections (subgoals) and within those there are a number of subsequent subgoals (and sometimes a further subgoal under that).&amp;nbsp; So typically it looks like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Main Goal (Effectively a "master heading" goal).&amp;nbsp; E.g. &lt;EM&gt;&lt;STRONG&gt;Implement BI Goals by 2023 (ID 1, for example)&lt;/STRONG&gt;&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;Subgoal under this.&amp;nbsp; E.g. &lt;EM&gt;&lt;STRONG&gt;Prepare key objectives (ID 1-1, Parent ID 1)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;Subgoal under this.&amp;nbsp; E.g.&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Identify 2022 milestones (ID 1-1-1, Parent ID 1-1)&lt;/STRONG&gt;&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;(Possibly) subgoal under this.&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;E.g. Send user requirements by end of Q2 (ID1-1-1-1, Parent ID 1-1-1 etc)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My end user is looking to see at a glance which "major" goals aren't yet completed (example in red), and their associated notes.&amp;nbsp; So this means using a filter - probably a slicer - to identify the main goal, I've done that and it looks fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do next though is create an associated matrix of subgoals &lt;U&gt;under that parent ID&lt;/U&gt; with their status/notes etc.&amp;nbsp; This is where I'm stuck - I'm unsure how to tell the matrix to reference the parent ID of the item selected in the &lt;EM&gt;slicer&lt;/EM&gt;, and thus return the associated entries.&amp;nbsp; Since Goals is quite tightly locked down I can access the PBIX file but I can't edit relationships or see the data tables (everything is connected to the dataset, but nothing is held locally), which leaves me largely relying on DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone managed to do anything similar with it yet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Largely useless) example file:&amp;nbsp;&lt;A href="https://www.dropbox.com/s/2remz46phv6d0c6/Example%20Scorecard.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/2remz46phv6d0c6/Example%20Scorecard.pbix?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:51:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/2317574#M57786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-03T11:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Goals Reporting - Linking a Goal to a Subgoal (or a Sub-Sub-Goal...)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/2322510#M58034</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Unfortunately I have no access to your dataset.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Could you please provide more details about your sample? You can also show it in text. Sorry I'm not very clear about your struggled problem.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ kalyj&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 07:29:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/2322510#M58034</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2022-02-07T07:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Goals Reporting - Linking a Goal to a Subgoal (or a Sub-Sub-Goal...)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/2326000#M58240</link>
      <description>&lt;P&gt;Here's how it looks in the report screen with just the basic data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say I want to see what's outstanding for "Identify 2022 Milestones".&amp;nbsp; I would create a slicer for Name and filter down to that goal (Parent ID 74baf..._).&amp;nbsp; What I'd like to be able to do then is show the goals beneath that (i.e. which &lt;EM&gt;&lt;STRONG&gt;belong&lt;/STRONG&gt;&lt;/EM&gt; to Parent ID 74baf... - such as Prepare Key Objectives) in a matrix format.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 15:49:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/2326000#M58240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-08T15:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Goals Reporting - Linking a Goal to a Subgoal (or a Sub-Sub-Goal...)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/4851134#M185148</link>
      <description>&lt;P&gt;Step 1. Create a tiny disconnected table for the slicer with GoalID and Name. If you cannot author a calculated table in this file, drop in a two column Excel sheet and load it. The columns must mirror the dataset values for GoalID and Name.&lt;/P&gt;
&lt;P data-start="776" data-end="819"&gt;Example calculated table if you can add one&lt;/P&gt;
&lt;P data-start="821" data-end="952"&gt;Slicer Goals =&lt;BR /&gt;DISTINCT (&lt;BR /&gt;SELECTCOLUMNS (&lt;BR /&gt;Goals,&lt;BR /&gt;"GoalID", Goals[GoalID],&lt;BR /&gt;"Name", Goals[Name]&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P data-start="954" data-end="1012"&gt;Put Slicer Goals[Name] in a slicer. Turn on single select.&lt;/P&gt;
&lt;P data-start="1014" data-end="1047"&gt;Step 2. Capture the selected goal&lt;/P&gt;
&lt;P data-start="1049" data-end="1108"&gt;Selected Goal ID =&lt;BR /&gt;SELECTEDVALUE ( 'Slicer Goals'[GoalID] )&lt;/P&gt;
&lt;P data-start="1110" data-end="1177"&gt;Step 3. Tell the matrix to only show children of that selected goal&lt;/P&gt;
&lt;P data-start="1179" data-end="1356"&gt;Show Row Children =&lt;BR /&gt;VAR selected = [Selected Goal ID]&lt;BR /&gt;VAR parentThisRow = SELECTEDVALUE ( Goals[ParentID] )&lt;BR /&gt;RETURN&lt;BR /&gt;IF ( NOT ISBLANK ( selected ) &amp;amp;&amp;amp; parentThisRow = selected, 1 )&lt;/P&gt;
&lt;P data-start="1358" data-end="1566"&gt;Place Goals[Name] on Matrix rows. Add Show Row Children to the visual level filters and keep only rows where the measure equals 1. For values you can expose per row fields through simple wrapper measures like&lt;/P&gt;
&lt;P data-start="1568" data-end="1608"&gt;Status =&lt;BR /&gt;SELECTEDVALUE ( Goals[Status] )&lt;/P&gt;
&lt;P data-start="1610" data-end="1648"&gt;Notes =&lt;BR /&gt;SELECTEDVALUE ( Goals[Notes] )&lt;/P&gt;
&lt;P data-start="1650" data-end="1868"&gt;That gives you a slicer for the main goal, and a matrix that lists all immediate subgoals with their status and notes. The selected parent goal itself will not appear because its Parent ID is different from its own ID.&lt;/P&gt;
&lt;P data-start="1870" data-end="1920"&gt;Multi select variant for the slicer if you need it&lt;/P&gt;
&lt;P data-start="1922" data-end="2124"&gt;Show Row Children Multi =&lt;BR /&gt;VAR chosen = VALUES ( 'Slicer Goals'[GoalID] )&lt;BR /&gt;VAR parentThisRow = SELECTEDVALUE ( Goals[ParentID] )&lt;BR /&gt;RETURN&lt;BR /&gt;IF ( CONTAINS ( chosen, 'Slicer Goals'[GoalID], parentThisRow ), 1 )&lt;/P&gt;
&lt;P data-start="2126" data-end="2261"&gt;Deeper than one level&lt;BR /&gt;If you want children, grandchildren, and so on, add a parent child path column. This requires a calculated column&lt;/P&gt;
&lt;P data-start="2263" data-end="2309"&gt;Path =&lt;BR /&gt;PATH ( Goals[GoalID], Goals[ParentID] )&lt;/P&gt;
&lt;P data-start="2311" data-end="2386"&gt;Now filter by whether the current row is in the path of the selected parent&lt;/P&gt;
&lt;P data-start="2388" data-end="2647"&gt;Show Row Descendants =&lt;BR /&gt;VAR selected = [Selected Goal ID]&lt;BR /&gt;VAR p = SELECTEDVALUE ( Goals[Path] )&lt;BR /&gt;VAR thisId = SELECTEDVALUE ( Goals[GoalID] )&lt;BR /&gt;RETURN&lt;BR /&gt;IF (&lt;BR /&gt;NOT ISBLANK ( selected )&lt;BR /&gt;&amp;amp;&amp;amp; PATHCONTAINS ( p, selected )&lt;BR /&gt;&amp;amp;&amp;amp; thisId &amp;lt;&amp;gt; selected,&lt;BR /&gt;1&lt;BR /&gt;)&lt;/P&gt;
&lt;P data-start="2649" data-end="2762"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 19:26:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Goals-Reporting-Linking-a-Goal-to-a-Subgoal-or-a-Sub-Sub-Goal/m-p/4851134#M185148</guid>
      <dc:creator>technolog</dc:creator>
      <dc:date>2025-10-15T19:26:25Z</dc:date>
    </item>
  </channel>
</rss>

