<?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: DAX measures on axes question in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3046667#M104751</link>
    <description>&lt;P&gt;you need add a calculated column in your source data&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2023 07:38:41 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2023-01-27T07:38:41Z</dc:date>
    <item>
      <title>DAX measures on axes question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3045633#M104659</link>
      <description>&lt;P&gt;Hi, can someone please help with the following case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use measures on axes, or maybe there is another way. See attached image.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 16:22:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3045633#M104659</guid>
      <dc:creator>TWijnen</dc:creator>
      <dc:date>2023-01-26T16:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measures on axes question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3046667#M104751</link>
      <description>&lt;P&gt;you need add a calculated column in your source data&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 07:38:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3046667#M104751</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-01-27T07:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measures on axes question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3048222#M104884</link>
      <description>&lt;P&gt;You mean for the logic in the "category measure"? I don't think that will work because at raw data row level there will be different outcomes of the&amp;nbsp;"category measure" vs the outcomes on agreggated level. Check the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Agree? Or did you mean something else?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 06:15:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3048222#M104884</guid>
      <dc:creator>TWijnen</dc:creator>
      <dc:date>2023-01-28T06:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measures on axes question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3049697#M104996</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="440592" data-lia-user-login="TWijnen" class="lia-mention lia-mention-user"&gt;TWijnen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;Column:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum input = CALCULATE(SUM('Table'[input]),ALLEXCEPT('Table','Table'[day]))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Sum onput = CALCULATE(SUM('Table'[output]),ALLEXCEPT('Table','Table'[day]))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Category = SWITCH(TRUE(),
[Sum input]&amp;gt;[Sum onput],"more input",
[Sum input]&amp;lt;[Sum onput],"more onput",
[Sum input]=[Sum onput],"equal")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Count days = CALCULATE(DISTINCTCOUNT('Table'[day]),ALLEXCEPT('Table','Table'[Category]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 07:22:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3049697#M104996</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-01-30T07:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measures on axes question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3054458#M105317</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332147" data-lia-user-login="v-zhangti" class="lia-mention lia-mention-user"&gt;v-zhangti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I still need to try it out on my dataset, the example I gave is very simplified compared to my real world scenario.&lt;/P&gt;&lt;P&gt;I see you used calculated columns, that is really helpful to me, for some reason I was thinking I could only solve this using measures.&lt;/P&gt;&lt;P&gt;I will reply later with my findings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont understand why this post/question was marked as solved when I have not replied yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 07:05:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measures-on-axes-question/m-p/3054458#M105317</guid>
      <dc:creator>TWijnen</dc:creator>
      <dc:date>2023-02-01T07:05:48Z</dc:date>
    </item>
  </channel>
</rss>

