<?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: Get column based on date and title in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109641#M109773</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521887" data-lia-user-login="Anna123456" class="lia-mention lia-mention-user"&gt;Anna123456&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you expecting something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;result = 
MAXX(
    FILTER(
        ALL(AnalyticsView), 
        AnalyticsView[Date] = TODAY()
    ),
    AnalyticsView[Visits24h]
)&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 03 Mar 2023 07:22:05 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-03-03T07:22:05Z</dc:date>
    <item>
      <title>Get column based on date and title</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109618#M109770</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a question. I want to get the value of "visit24hrs" for today for each title in my report. I try to use this formula:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;result = CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(AnalyticsView[Visits24h]),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;( AnalyticsView), (today()&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= AnalyticsView[Date])))&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my chart I use for Y Title and for X result. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But now I get the same number (the summed result) for each Title.&amp;nbsp;&lt;BR /&gt;Question: How can I display the result for each item in my chart? Without the "sum" in the formula I am not able to use Visits24hrs in the measure (it says it can not regognize the column)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Best wishes,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Anna&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 07:11:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109618#M109770</guid>
      <dc:creator>Anna123456</dc:creator>
      <dc:date>2023-03-03T07:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get column based on date and title</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109641#M109773</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521887" data-lia-user-login="Anna123456" class="lia-mention lia-mention-user"&gt;Anna123456&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you expecting something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;result = 
MAXX(
    FILTER(
        ALL(AnalyticsView), 
        AnalyticsView[Date] = TODAY()
    ),
    AnalyticsView[Visits24h]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Mar 2023 07:22:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109641#M109773</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-03T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get column based on date and title</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109643#M109774</link>
      <description>&lt;P&gt;You use this as a calculated column, right?&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;result = CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(AnalyticsView[Visits24h]),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;( AnalyticsView), (today()&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= AnalyticsView[Date])))&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 07:22:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109643#M109774</guid>
      <dc:creator>andhiii079845</dc:creator>
      <dc:date>2023-03-03T07:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get column based on date and title</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109717#M109780</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I get the max value of my visits24hr over all items ... so in my chart it is displaying the same number for every item (which is not correct....)&lt;BR /&gt;But thank you for your try to help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 07:45:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109717#M109780</guid>
      <dc:creator>Anna123456</dc:creator>
      <dc:date>2023-03-03T07:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get column based on date and title</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109722#M109782</link>
      <description>&lt;P&gt;I added another filter (for the distinct items) and now it works with your code. thank you!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 07:47:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-column-based-on-date-and-title/m-p/3109722#M109782</guid>
      <dc:creator>Anna123456</dc:creator>
      <dc:date>2023-03-03T07:47:33Z</dc:date>
    </item>
  </channel>
</rss>

