<?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 how dax can calculate  field parameter corresponding maximum value dynamically in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-dax-can-calculate-field-parameter-corresponding-maximum/m-p/2756243#M85225</link>
    <description>&lt;P&gt;When switching the year, quarter and month of the field parameters, I hope to get the maximum value of different time periods as the maximum value of the y-axis, but I can't get the maximum value dynamically. The maximum value corresponding to different time intervals can be calculated, but it can't be obtained dynamically. How can I get the maximum value of different time periods dynamically with DAX? That is, when I switch the year, quarter and month of the field parameter, the measurement can automatically obtain the maximum value of the corresponding interval&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 17:11:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-08T17:11:52Z</dc:date>
    <item>
      <title>how dax can calculate  field parameter corresponding maximum value dynamically</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-dax-can-calculate-field-parameter-corresponding-maximum/m-p/2756243#M85225</link>
      <description>&lt;P&gt;When switching the year, quarter and month of the field parameters, I hope to get the maximum value of different time periods as the maximum value of the y-axis, but I can't get the maximum value dynamically. The maximum value corresponding to different time intervals can be calculated, but it can't be obtained dynamically. How can I get the maximum value of different time periods dynamically with DAX? That is, when I switch the year, quarter and month of the field parameter, the measurement can automatically obtain the maximum value of the corresponding interval&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 17:11:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-dax-can-calculate-field-parameter-corresponding-maximum/m-p/2756243#M85225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-08T17:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: how dax can calculate  field parameter corresponding maximum value dynamically</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-dax-can-calculate-field-parameter-corresponding-maximum/m-p/2757097#M85278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached file.&lt;/P&gt;
&lt;P&gt;As you can see in the measure, I tried to create additional column [Period CC] in the field parameter table, and then I used this column in the measure.&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;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Max qty by period select measure: =
SWITCH (
    SELECTEDVALUE ( Period[Period CC] ),
    "M-Y", MAXX ( VALUES ( 'Calendar'[M-Y] ), [Quantity total measure:] ),
    "Q-Y", MAXX ( VALUES ( 'Calendar'[Q-Y] ), [Quantity total measure:] ),
    "Year", MAXX ( VALUES ( 'Calendar'[Year] ), [Quantity total measure:] )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 05:33:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-dax-can-calculate-field-parameter-corresponding-maximum/m-p/2757097#M85278</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-09T05:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: how dax can calculate  field parameter corresponding maximum value dynamically</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-dax-can-calculate-field-parameter-corresponding-maximum/m-p/2762349#M85661</link>
      <description>&lt;P&gt;hi,kim,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;thank you very much.&amp;nbsp;&lt;SPAN&gt;Your suggestion is very helpful.&amp;nbsp;&lt;SPAN class=""&gt;According to your example, it is normal to create a column in the field parameter table for measurement judgment. If the original column in the field parameter table is used for judgment, the measurement will report an error. The original column that has been used before can not be found.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;Thank you again for your help&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 15:41:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-dax-can-calculate-field-parameter-corresponding-maximum/m-p/2762349#M85661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-12T15:41:33Z</dc:date>
    </item>
  </channel>
</rss>

