<?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: Measure give the value 95 or the next up in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2627888#M76752</link>
    <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;You are great!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2022 14:22:29 GMT</pubDate>
    <dc:creator>MTrullàs</dc:creator>
    <dc:date>2022-07-08T14:22:29Z</dc:date>
    <item>
      <title>Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2614023#M75882</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need a measure that reflects the value "Tran. Campa" when the value "P. Tran. Campa" is 95%. In the event that there is no 95% value in "P. Tran. Campa", then the measure should give the value "Tan. Campa" upper, as seen in the screenshots.&lt;/P&gt;&lt;P&gt;Thank you very much in advance,&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;Greetings&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 10:40:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2614023#M75882</guid>
      <dc:creator>MTrullàs</dc:creator>
      <dc:date>2022-07-01T10:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2614291#M75897</link>
      <description>&lt;P&gt;I think this measure should do it&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;P95 Trans Campa =
VAR summaryTable =
    TOPN ( 1, FILTER ( HIFA, [P. Trans Campa] &amp;gt;= 0.95 ), HIFA[Trans Campa], ASC )
RETURN
    SELECTCOLUMNS ( summaryTable, "@val", [Trans Campa] )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:05:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2614291#M75897</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-07-01T13:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2622408#M76440</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt; &lt;SPAN&gt;john75,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank&lt;/SPAN&gt; &lt;SPAN&gt;you&lt;/SPAN&gt; &lt;SPAN&gt;very&lt;/SPAN&gt; &lt;SPAN&gt;much&lt;/SPAN&gt; &lt;SPAN&gt;for&lt;/SPAN&gt; &lt;SPAN&gt;your&lt;/SPAN&gt; &lt;SPAN&gt;replay, until&lt;/SPAN&gt; &lt;SPAN&gt;today&lt;/SPAN&gt; &lt;SPAN&gt;I&lt;/SPAN&gt; &lt;SPAN&gt;couldn't&lt;/SPAN&gt; &lt;SPAN&gt;check&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;measure. I&lt;/SPAN&gt; &lt;SPAN&gt;think&lt;/SPAN&gt; &lt;SPAN&gt;it's&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;right&lt;/SPAN&gt; &lt;SPAN&gt;way, but&lt;/SPAN&gt; &lt;SPAN&gt;there&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;something&lt;/SPAN&gt; &lt;SPAN&gt;about&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;format&lt;/SPAN&gt; &lt;SPAN&gt;of&lt;/SPAN&gt; &lt;SPAN&gt;P. Trans&lt;/SPAN&gt; &lt;SPAN&gt;Campa&lt;/SPAN&gt; &lt;SPAN&gt;that&lt;/SPAN&gt; &lt;SPAN&gt;it&lt;/SPAN&gt; &lt;SPAN&gt;gives&lt;/SPAN&gt; &lt;SPAN&gt;always&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;first&lt;/SPAN&gt; &lt;SPAN&gt;value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;I&lt;/SPAN&gt; &lt;SPAN&gt;think, but&lt;/SPAN&gt; &lt;SPAN&gt;I&lt;/SPAN&gt; &lt;SPAN&gt;don't&lt;/SPAN&gt; &lt;SPAN&gt;know&lt;/SPAN&gt; &lt;SPAN&gt;exactly&lt;/SPAN&gt; &lt;SPAN&gt;where&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;problem. In&lt;/SPAN&gt; &lt;SPAN&gt;this&lt;/SPAN&gt; &lt;SPAN&gt;screen&lt;/SPAN&gt; &lt;SPAN&gt;shot&lt;/SPAN&gt; &lt;SPAN&gt;of&lt;/SPAN&gt; &lt;SPAN&gt;two&lt;/SPAN&gt; &lt;SPAN&gt;examples, you&amp;nbsp; could&lt;/SPAN&gt; &lt;SPAN&gt;see&lt;/SPAN&gt; &lt;SPAN&gt;that&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;measure&lt;/SPAN&gt; &lt;SPAN&gt;gives&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;first&lt;/SPAN&gt; &lt;SPAN&gt;value, not&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;correct. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Thank&lt;/SPAN&gt; &lt;SPAN&gt;you&lt;/SPAN&gt; &lt;SPAN&gt;very&lt;/SPAN&gt; &lt;SPAN&gt;much&lt;/SPAN&gt; &lt;SPAN&gt;for&lt;/SPAN&gt; &lt;SPAN&gt;your&lt;/SPAN&gt; &lt;SPAN&gt;time!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 11:50:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2622408#M76440</guid>
      <dc:creator>MTrullàs</dc:creator>
      <dc:date>2022-07-06T11:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2622790#M76473</link>
      <description>&lt;P&gt;Try creating a calculated table, or run the query in DAX Studio,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FILTER ( HIFA, [P. Trans Campa] &amp;gt;= 0.95 )&lt;/LI-CODE&gt;&lt;P&gt;to see what it returns.&lt;/P&gt;&lt;P&gt;Is it possible to share the PBIX file ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 14:12:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2622790#M76473</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-07-06T14:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2623883#M76560</link>
      <description>&lt;P&gt;Hello johnt75,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to the forum and I don't know how can I share the PBIX file.&lt;/P&gt;&lt;P&gt;Could you give me some tips?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your time!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 05:11:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2623883#M76560</guid>
      <dc:creator>MTrullàs</dc:creator>
      <dc:date>2022-07-07T05:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2624250#M76584</link>
      <description>&lt;P&gt;People usually use a file sharing service like Dropbox, or share directly from Google Drive or One Drive.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 08:02:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2624250#M76584</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-07-07T08:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2626754#M76689</link>
      <description>&lt;P&gt;Hello johnt75,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for your tips.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I could build an example to share with you &lt;SPAN&gt;throughout&lt;/SPAN&gt; google drive. This is the link:&amp;nbsp;&lt;A href="https://drive.google.com/drive/folders/1WcvmaWZ6qjvbZL7GvzSw0ura9GBXYL4s?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/drive/folders/1WcvmaWZ6qjvbZL7GvzSw0ura9GBXYL4s?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any problem to access, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp;I need a metric which reflects the value "Estancia Fabrica" or "Tiempo Total" when the value "P.Estancia Fabrica" or "P. Tiempo Total"is 95%. In case it is not 95%, then the measurement should give the higher value.I share two examples more about the pbix that I'm sharing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for hearing me out.&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 04:45:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2626754#M76689</guid>
      <dc:creator>MTrullàs</dc:creator>
      <dc:date>2022-07-08T04:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2627340#M76715</link>
      <description>&lt;P&gt;OK, I've found the problem with the original code, when using all of the columns in HIFA in the FILTER statement the calculation always produces 1. Try the below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;P95 Tiempo Total = 
VAR summaryTable =
    TOPN ( 1, FILTER ( values(HIFA[Tiempo Total]), [P. Tiempo Total] &amp;gt;= 0.95 ), HIFA[Tiempo Total], ASC )
RETURN
    SELECTCOLUMNS ( summaryTable, "@val", [Tiempo Total] )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 08 Jul 2022 10:02:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2627340#M76715</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-07-08T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Measure give the value 95 or the next up</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2627888#M76752</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;You are great!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 14:22:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-give-the-value-95-or-the-next-up/m-p/2627888#M76752</guid>
      <dc:creator>MTrullàs</dc:creator>
      <dc:date>2022-07-08T14:22:29Z</dc:date>
    </item>
  </channel>
</rss>

