<?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: Change Legend Value Based On Drill Level in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-Legend-Value-Based-On-Drill-Level/m-p/738508#M2159</link>
    <description>&lt;P&gt;Hi, can you add sample tables from your model with anonymised data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As described here:&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="How to Get Your Question Answered Quickly" uid="38490" url="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/m-p/38490#U38490"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;here is some general info on hierarchies that might be helpful&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/clever-hierarchy-handling-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/clever-hierarchy-handling-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2019 08:12:42 GMT</pubDate>
    <dc:creator>Stachu</dc:creator>
    <dc:date>2019-07-12T08:12:42Z</dc:date>
    <item>
      <title>Change Legend Value Based On Drill Level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-Legend-Value-Based-On-Drill-Level/m-p/734292#M1915</link>
      <description>&lt;P&gt;I am tracking projects' phases through time on a bar char, from design to construction.&amp;nbsp; I am counting how many projects are in each phase at a given point in time as a kind of resource utilization chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the user is looking at a Day drill level, that's easy.&amp;nbsp; But when the user drills up to Month, a project could be in both phases in a month if, let's say, it changes from design to construction on the 15th.&amp;nbsp; At that level I would like the project to be counted only once as being "in between" rather than design or constuction... until the user drills back down to day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The In Between legend value could never exist at the day level but would appear as soon as the user drilled up to a month or quarter.&amp;nbsp; Any suggestions appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 14:48:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-Legend-Value-Based-On-Drill-Level/m-p/734292#M1915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-08T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change Legend Value Based On Drill Level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-Legend-Value-Based-On-Drill-Level/m-p/738508#M2159</link>
      <description>&lt;P&gt;Hi, can you add sample tables from your model with anonymised data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As described here:&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="How to Get Your Question Answered Quickly" uid="38490" url="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/m-p/38490#U38490"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;here is some general info on hierarchies that might be helpful&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/clever-hierarchy-handling-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/clever-hierarchy-handling-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 08:12:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-Legend-Value-Based-On-Drill-Level/m-p/738508#M2159</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2019-07-12T08:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change Legend Value Based On Drill Level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-Legend-Value-Based-On-Drill-Level/m-p/738581#M2163</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I am tracking projects' phases through time on a bar char, from design to construction.&amp;nbsp; I am counting how many projects are in each phase at a given point in time as a kind of resource utilization chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the user is looking at a Day drill level, that's easy.&amp;nbsp; But when the user drills up to Month, a project could be in both phases in a month if, let's say, it changes from design to construction on the 15th.&amp;nbsp; At that level I would like the project to be counted only once as being "in between" rather than design or constuction... until the user drills back down to day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The In Between legend value could never exist at the day level but would appear as soon as the user drilled up to a month or quarter.&amp;nbsp; Any suggestions appreciated!&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Well, you should approach this in a different way. You should have a dimension called something like "Project Phases" and in there you should store all the possible phases (together with your "in-between"). Then, you should create a measure that would for any given time frame return the number of projects that are in any of the phases stored in there. Then your problem disappears...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proper model design is more important than mastery of DAX:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=pvIVMEFQokE" target="_blank"&gt;https://www.youtube.com/watch?v=pvIVMEFQokE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 09:08:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-Legend-Value-Based-On-Drill-Level/m-p/738581#M2163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T09:08:39Z</dc:date>
    </item>
  </channel>
</rss>

