<?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: Waterfall with custom categories and SWITCH in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3169542#M114199</link>
    <description>&lt;P&gt;Glad to help!&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 13:52:14 GMT</pubDate>
    <dc:creator>PiEye</dc:creator>
    <dc:date>2023-04-03T13:52:14Z</dc:date>
    <item>
      <title>Waterfall with custom categories and SWITCH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3168928#M114148</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thanks for all the help in previous posts. I have one more issue that is bugging me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create WATERFALL chart but MEASURE in Y axis need to show different measures based on Category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this Measures set:&lt;BR /&gt;Measure1&lt;BR /&gt;Measure2&lt;BR /&gt;Measure3&lt;BR /&gt;&lt;BR /&gt;Also I have this dimTable:&lt;BR /&gt;Index&amp;nbsp; Measure Name&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Measure1&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Measure2&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Measure2&lt;BR /&gt;&lt;BR /&gt;I need to create this waterfall who shows:&lt;BR /&gt;Measure1Name ---- Measure1&lt;BR /&gt;&lt;SPAN&gt;Measure2Name ---- Measure2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Measure3Name ---- Measure3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created Measure in SWITCH that says:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure_SWITCH = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;selectedvalue&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;dimTables&lt;/SPAN&gt;&lt;SPAN&gt;[Index]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[Measure1]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[Measure2]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[Measure3]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;But this Measure_switch gives only value for Index1 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I tried to put Measure_Switch in Y axis and MeasureName in Category but it does only show value for Measure1&lt;BR /&gt;&lt;BR /&gt;Could you help me?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 09:27:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3168928#M114148</guid>
      <dc:creator>DagmaraG</dc:creator>
      <dc:date>2023-04-03T09:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall with custom categories and SWITCH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3169123#M114159</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="243933" data-lia-user-login="DagmaraG" class="lia-mention lia-mention-user"&gt;DagmaraG&lt;/a&gt;&amp;nbsp;, I was able to get something to work by doing the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 Measures: Measure 1, Measure 2, Measure 3.&amp;nbsp;Note that these are each DAX measure in the main table:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure 1 = &lt;/SPAN&gt;&lt;SPAN&gt;[Measure]&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure 2 = &lt;/SPAN&gt;&lt;SPAN&gt;[Measure]&lt;/SPAN&gt;&lt;SPAN&gt; +2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure 3 = &lt;/SPAN&gt;&lt;SPAN&gt;[Measure]&lt;/SPAN&gt;&lt;SPAN&gt; +3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then created a parameter, in an&amp;nbsp;&lt;EM&gt;unlinked&lt;/EM&gt; table isolate, with the values 1,2,3 and corresponding switch statement. This returns expected results when tested in a straight table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can then add these values into a waterfall chart, and the results are as expected.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are you doing differently? Are the tables connected - they should not be connected. Perhaps if this does not work you can share a screenshot of the model?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS, if you want even more flexibility around waterfall charts, I have a blog on how to create from bar chart:&amp;nbsp;&lt;A href="https://www.iheartdemography.com/post/hacking-a-waterfall-chart-in-powerbi" target="_blank"&gt;https://www.iheartdemography.com/post/hacking-a-waterfall-chart-in-powerbi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 11:09:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3169123#M114159</guid>
      <dc:creator>PiEye</dc:creator>
      <dc:date>2023-04-03T11:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall with custom categories and SWITCH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3169241#M114176</link>
      <description>&lt;P&gt;thanks, I have realized I used to much selected switches. It was an issue with my model.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 11:58:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3169241#M114176</guid>
      <dc:creator>DagmaraG</dc:creator>
      <dc:date>2023-04-03T11:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall with custom categories and SWITCH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3169542#M114199</link>
      <description>&lt;P&gt;Glad to help!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 13:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Waterfall-with-custom-categories-and-SWITCH/m-p/3169542#M114199</guid>
      <dc:creator>PiEye</dc:creator>
      <dc:date>2023-04-03T13:52:14Z</dc:date>
    </item>
  </channel>
</rss>

