<?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: Can you use selectedmeasure without Tabular Editor?? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-you-use-selectedmeasure-without-Tabular-Editor/m-p/3273207#M121386</link>
    <description>&lt;P&gt;Hello tamerj1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply, but I had to test and see how to get it the way I wanted to have. The answer, is not same as I was thinking when I asked the question. As I was more thinking about the command selectedmeasure, that will replace the measurename so you would get selectedmeasure[amount'] or selectedmeasure[QTY]. But when looking back, this is my own mistake and should explain better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, your answer did help me a lot. I now can make only 1 measure for the formula I want need (like totalMTD, totalQTD &amp;amp; TotalYTD) and then based on your example, I can make it that multiple databases/tables can address this and I am getting the correct result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So even not exactly that what I was looking for, it is still very workable and helpfull.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 17:23:45 GMT</pubDate>
    <dc:creator>Invisibleman</dc:creator>
    <dc:date>2023-06-07T17:23:45Z</dc:date>
    <item>
      <title>Can you use selectedmeasure without Tabular Editor??</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-you-use-selectedmeasure-without-Tabular-Editor/m-p/3269071#M121088</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking at the function selectedmeasure. But when I am searching the internet, then I only see the videos, where they are using the Tabular Editor to create&amp;nbsp;&lt;SPAN&gt;Calculation Groups and in this Tabular Editor they then using the selectedmeasure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But can this selectedmeasure also work without this Tabular Editor and/or Calculation Group?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That I can create a Selected measure in a Power BI measure,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;SelMeasure = &lt;SPAN class=""&gt;TOTALQTD&lt;/SPAN&gt;(SELECTEDMEASURE()),DateTime[DateKey], &lt;SPAN class=""&gt;ALL&lt;/SPAN&gt;('DateTime'), &lt;SPAN class=""&gt;"6/30"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SourceMeasure1 = sum([Amount])&lt;BR /&gt;SourceMeasure2 = sum([QTY])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ResultMeasure = switch(&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"Amount", SelMeasure(SourceMeasure1),&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"QTY", SelMeasure(SourceMeasure2)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or something like this??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hans&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 17:27:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-you-use-selectedmeasure-without-Tabular-Editor/m-p/3269071#M121088</guid>
      <dc:creator>Invisibleman</dc:creator>
      <dc:date>2023-06-05T17:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use selectedmeasure without Tabular Editor??</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-you-use-selectedmeasure-without-Tabular-Editor/m-p/3269101#M121091</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="543178" data-lia-user-login="Invisibleman" class="lia-mention lia-mention-user"&gt;Invisibleman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;manually created a disconnected table that contains two values ("Amount" and "Qty") which ahall be used as a slicer or a matrix visual then the result measure would be&lt;/P&gt;
&lt;P&gt;ResultMeasure =&lt;BR /&gt;SWITCH (&lt;BR /&gt;SELECTEDVALUE ( MeasureSelection[Measure] ),&lt;BR /&gt;"Amount", [SourceMeasure1],&lt;BR /&gt;"QTY", [SourceMeasure2]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the SelMeasure would be&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SelMeasure =&lt;BR /&gt;TOTALQTD ( [ResultMeasure], DateTime[DateKey] )&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 18:38:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-you-use-selectedmeasure-without-Tabular-Editor/m-p/3269101#M121091</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-05T18:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use selectedmeasure without Tabular Editor??</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-you-use-selectedmeasure-without-Tabular-Editor/m-p/3273207#M121386</link>
      <description>&lt;P&gt;Hello tamerj1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply, but I had to test and see how to get it the way I wanted to have. The answer, is not same as I was thinking when I asked the question. As I was more thinking about the command selectedmeasure, that will replace the measurename so you would get selectedmeasure[amount'] or selectedmeasure[QTY]. But when looking back, this is my own mistake and should explain better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, your answer did help me a lot. I now can make only 1 measure for the formula I want need (like totalMTD, totalQTD &amp;amp; TotalYTD) and then based on your example, I can make it that multiple databases/tables can address this and I am getting the correct result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So even not exactly that what I was looking for, it is still very workable and helpfull.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 17:23:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-you-use-selectedmeasure-without-Tabular-Editor/m-p/3273207#M121386</guid>
      <dc:creator>Invisibleman</dc:creator>
      <dc:date>2023-06-07T17:23:45Z</dc:date>
    </item>
  </channel>
</rss>

