<?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 Matrix with different levels of hierarchy in row and corresponding values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-different-levels-of-hierarchy-in-row-and/m-p/1819681#M38580</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have requirement to display matrix where row basically KPI list, will have different levels of hierarchy to show and corresponding values for each KPI- which has different logic for each KPI.&lt;BR /&gt;I have 4 different levels -&amp;nbsp; KPI name -&amp;gt; Level 1-&amp;gt; Level 2 -&amp;gt; Level 3&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To get this view in matrix I have created table by just inserting values in every column based on requirement.&lt;BR /&gt;&lt;BR /&gt;The requirement is to show corresponding values for each KPI including all levels of hierachy .&lt;BR /&gt;Each KPI has its own logic to display values. I have created measure to calculate values for each KPI but unable to get the same in the requested matrix view. I tried using switch statement but got stuck at some point as how to include logic for each level1,level2 and level3 to get the correct data in matrix view.&lt;BR /&gt;&lt;BR /&gt;ALSO, how to get rid of the rows where I don't have further level or when its blank. It shouldn't have + expand symbol though in matrix . For example in my list, KPI 1 and KPI 4.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Measure Logic = SWITCH(MAX('KPI Table'[KPI name]),&lt;BR /&gt;"KPI 1",[KPI 1],&lt;BR /&gt;"KPI 2",[KPI 2],&lt;BR /&gt;"KPI 3",[KPI 3],&lt;BR /&gt;"KPI 4",[KPI 4],&lt;BR /&gt;200)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Screenshot attached for table and matrix view&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help will be much appreciated. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 11:19:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-03T11:19:10Z</dc:date>
    <item>
      <title>Matrix with different levels of hierarchy in row and corresponding values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-different-levels-of-hierarchy-in-row-and/m-p/1819681#M38580</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have requirement to display matrix where row basically KPI list, will have different levels of hierarchy to show and corresponding values for each KPI- which has different logic for each KPI.&lt;BR /&gt;I have 4 different levels -&amp;nbsp; KPI name -&amp;gt; Level 1-&amp;gt; Level 2 -&amp;gt; Level 3&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To get this view in matrix I have created table by just inserting values in every column based on requirement.&lt;BR /&gt;&lt;BR /&gt;The requirement is to show corresponding values for each KPI including all levels of hierachy .&lt;BR /&gt;Each KPI has its own logic to display values. I have created measure to calculate values for each KPI but unable to get the same in the requested matrix view. I tried using switch statement but got stuck at some point as how to include logic for each level1,level2 and level3 to get the correct data in matrix view.&lt;BR /&gt;&lt;BR /&gt;ALSO, how to get rid of the rows where I don't have further level or when its blank. It shouldn't have + expand symbol though in matrix . For example in my list, KPI 1 and KPI 4.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Measure Logic = SWITCH(MAX('KPI Table'[KPI name]),&lt;BR /&gt;"KPI 1",[KPI 1],&lt;BR /&gt;"KPI 2",[KPI 2],&lt;BR /&gt;"KPI 3",[KPI 3],&lt;BR /&gt;"KPI 4",[KPI 4],&lt;BR /&gt;200)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Screenshot attached for table and matrix view&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help will be much appreciated. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:19:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-different-levels-of-hierarchy-in-row-and/m-p/1819681#M38580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-03T11:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix with different levels of hierarchy in row and corresponding values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-different-levels-of-hierarchy-in-row-and/m-p/1819747#M38584</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Not very clear, but isinscope can help&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/" target="_blank"&gt;https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:57:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-different-levels-of-hierarchy-in-row-and/m-p/1819747#M38584</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-03T11:57:19Z</dc:date>
    </item>
  </channel>
</rss>

