<?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 Find minimum value in a dynamic breakdown (field parameter) chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-minimum-value-in-a-dynamic-breakdown-field-parameter-chart/m-p/3048295#M156640</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to get the lowest total (amongst all the Job Levels) in by chart below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To do that I am using this calculation:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;MINFTE = MINX(ALLSELECTED('1'[Job Level]) , CALCULATE(SUM('1'[FTE])))&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;However, it works when my Y-axis is fixed.&lt;BR /&gt;&lt;BR /&gt;If I want to let the user change the Y-axis, I do it using Field Parameter:&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&amp;nbsp;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;But then my previous calculation to find the minimum does not work - as I have fixed dimension there, and also revised calculation below does not work:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;EM&gt;MINFTE2 = MINX(ALLSELECTED('Breakdown By'[Breakdown By]) , CALCULATE(SUM('1'[FTE])))&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;I will need this minimum value in a measure so I can use it in other calculations.&lt;BR /&gt;&lt;BR /&gt;Is it possible ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My data structure is quite simple (in case you need it):&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 28 Jan 2023 11:33:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-28T11:33:20Z</dc:date>
    <item>
      <title>Find minimum value in a dynamic breakdown (field parameter) chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-minimum-value-in-a-dynamic-breakdown-field-parameter-chart/m-p/3048295#M156640</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to get the lowest total (amongst all the Job Levels) in by chart below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To do that I am using this calculation:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;MINFTE = MINX(ALLSELECTED('1'[Job Level]) , CALCULATE(SUM('1'[FTE])))&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;However, it works when my Y-axis is fixed.&lt;BR /&gt;&lt;BR /&gt;If I want to let the user change the Y-axis, I do it using Field Parameter:&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&amp;nbsp;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;But then my previous calculation to find the minimum does not work - as I have fixed dimension there, and also revised calculation below does not work:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;EM&gt;MINFTE2 = MINX(ALLSELECTED('Breakdown By'[Breakdown By]) , CALCULATE(SUM('1'[FTE])))&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;I will need this minimum value in a measure so I can use it in other calculations.&lt;BR /&gt;&lt;BR /&gt;Is it possible ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My data structure is quite simple (in case you need it):&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 28 Jan 2023 11:33:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-minimum-value-in-a-dynamic-breakdown-field-parameter-chart/m-p/3048295#M156640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-28T11:33:20Z</dc:date>
    </item>
  </channel>
</rss>

