<?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: SUM total to change by date range selected on slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-total-to-change-by-date-range-selected-on-slicer/m-p/3686501#M143201</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&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;&lt;A href="https://learn.microsoft.com/en-us/dax/allselected-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;ALLSELECTED function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Clicks measure: = 
SUM( Data[Clicks] )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Clicks % measure: =
VAR _total =
    CALCULATE ( SUM ( Data[Clicks] ), ALLSELECTED ( 'Calendar'[Date] ) )
RETURN
    DIVIDE ( SUM ( Data[Clicks] ), _total )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 18:08:33 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2024-02-07T18:08:33Z</dc:date>
    <item>
      <title>SUM total to change by date range selected on slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-total-to-change-by-date-range-selected-on-slicer/m-p/3686215#M143184</link>
      <description>&lt;P&gt;Hello Team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate a SUM(Total clicks) such that it can change as and when my date slider changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then, calculate " %linkclicks/Sum(total clicks)"&amp;nbsp; such that this measure changes with the change in my date slider.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So, essentially I need the Clicks% column but I need both the Numerator and Denominator to change with change in dates (slider slicer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:58:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-total-to-change-by-date-range-selected-on-slicer/m-p/3686215#M143184</guid>
      <dc:creator>Anonymous_</dc:creator>
      <dc:date>2024-02-07T15:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: SUM total to change by date range selected on slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-total-to-change-by-date-range-selected-on-slicer/m-p/3686501#M143201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&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;&lt;A href="https://learn.microsoft.com/en-us/dax/allselected-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;ALLSELECTED function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Clicks measure: = 
SUM( Data[Clicks] )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Clicks % measure: =
VAR _total =
    CALCULATE ( SUM ( Data[Clicks] ), ALLSELECTED ( 'Calendar'[Date] ) )
RETURN
    DIVIDE ( SUM ( Data[Clicks] ), _total )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 18:08:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-total-to-change-by-date-range-selected-on-slicer/m-p/3686501#M143201</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-02-07T18:08:33Z</dc:date>
    </item>
  </channel>
</rss>

