<?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: Getting maximum concurrent license usage only in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2296129#M831712</link>
    <description>&lt;P&gt;&lt;A title="LicenseUtilization" href="https://inoffice-my.sharepoint.com/personal/kavita_asthana_emea_adecco_net/Documents/Attachments/LicenseUtilizationTest.pbix" target="_self"&gt;https://inoffice-my.sharepoint.com/personal/kavita_asthana_emea_adecco_net/Documents/Attachments/LicenseUtilizationTest.pbix&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching pbix file&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 18:33:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-21T18:33:43Z</dc:date>
    <item>
      <title>Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2278222#M826584</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to find out the maximum concurrent license usage in a day. So, if user is selecting a date say 6th Jan 2022, it should show maximum concurrent licenses used that day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to find out maximum license usage for each second of selected date i.e. for 86400 rows. But, what i want is only those seconds where&amp;nbsp;concurrent license consumption was maximum.&lt;/P&gt;&lt;P&gt;The mesaure I created for concurrent license usage is&amp;nbsp;&lt;/P&gt;&lt;P&gt;LicenseUsageSecJob = CALCULATE(COUNT(Jobs[Id]), FILTER(Jobs,&lt;BR /&gt;(&lt;BR /&gt;(SELECTEDVALUE(DateTimeSec[DateTime]) &amp;gt;= Jobs[StartTime] &amp;amp;&amp;amp; SELECTEDVALUE(DateTimeSec[DateTime]) &amp;lt;= Jobs[EndTime])||(SELECTEDVALUE(DateTimeSec[DateTime]) &amp;gt;= Jobs[StartTime] &amp;amp;&amp;amp; Jobs[EndTime] = BLANK())&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;In a table visual I have 2 fields-&amp;nbsp;DateTimeSec[DateTime] and LicenseUsageSecJob&lt;/P&gt;&lt;P&gt;Now this table visual has 86400 rows, if the maximum concurrent licenses used on 6th Jan were 12, I want only those time periods where&amp;nbsp;LicenseUsageSecJob=12.&lt;/P&gt;&lt;P&gt;How to acheive this? Please help me! Its urgent!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 19:07:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2278222#M826584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-11T19:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2278236#M826586</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Use MAXX, so something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Maximum Concurrent = 
  MAXX(
    ADDCOLUMNS(
      DISTINCT('DateTimeSec'[DateTime],
      "Concurrent",[LicenseUsageSecJob]
    ),
    [Concurrent]
  )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could then use the Filter pane or another selector measure to only show the rows where the value is the max.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 19:29:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2278236#M826586</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-01-11T19:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279070#M826820</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My report looks like this(screenshot above). When the user selects a date the table on right displays the maximum concurrent calls for all the seconds for that day i.e. 86400 rowswhich the table visual is not able to display.&lt;/P&gt;&lt;P&gt;Now the key ask here is that how to show only those records in table visual which has maximum concurrent calls, it could be 30-40 rows for eg. and not 86400 rows for each second.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;The measure shared by you when placed with datetime field in a table visual still gives all the seconds rows. Requesting your help!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 08:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279070#M826820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-12T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279525#M826940</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&amp;nbsp;I think you missed this in the previous post "&lt;SPAN&gt;&lt;EM&gt;You could then use the Filter pane or another selector measure to only show the rows where the value is the max.&lt;/EM&gt;" So, try this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Maximum Concurrent Flag =
VAR __Max 
  MAXX(
    ADDCOLUMNS(
      DISTINCT(ALL('DateTimeSec'[DateTime]),
      "Concurrent",[LicenseUsageSecJob]
    ),
    [Concurrent]
  )
VAR __Count = CALCULATE(COUNT(Jobs[Id]), FILTER(Jobs,(
(SELECTEDVALUE(DateTimeSec[DateTime]) &amp;gt;= Jobs[StartTime] &amp;amp;&amp;amp; SELECTEDVALUE(DateTimeSec[DateTime]) &amp;lt;= Jobs[EndTime])||(SELECTEDVALUE(DateTimeSec[DateTime]) &amp;gt;= Jobs[StartTime] &amp;amp;&amp;amp; Jobs[EndTime] = BLANK()))))
RETURN
IF(__Count = __Max, __Count,BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 13:33:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279525#M826940</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-01-12T13:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279555#M826947</link>
      <description>&lt;P&gt;Filter pane does not accept Max function. Also, Var _Max calculates for all datetime and not selected value, hence it will do calculation for 30 days*86400=2592000 rows which is not a feasible option.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 13:46:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279555#M826947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-12T13:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279832#M827022</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;You can add a measure into the Filters on this visual section of the Filters pane.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 16:03:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2279832#M827022</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-01-12T16:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2280012#M827084</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;: Yes, I can add a measure in filter pane but what will be the value?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 17:40:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2280012#M827084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-12T17:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2283409#M828070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can start by creating an aggregate table to find the maximum value at each time, as &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; says _Max, and store it in the cache as a calculation table to improve performance.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Then create a measure, such as&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;measuredd if =
IF(
    [LicenseUsageSecJob]
        = CALCULATE(
            MAX( 'new table'[countjobs] ),
            'new table'[DateTime]
                = SELECTEDVALUE( DateTimeSec[DateTime] )
        ),
    1,
    0
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;put the measure in filter pane and set show item is 1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can share your pbix file without sensitive data if you need more help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 09:11:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2283409#M828070</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-01-14T09:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2293517#M830956</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320777" data-lia-user-login="v-chenwuz-msft" class="lia-mention lia-mention-user"&gt;v-chenwuz-msft&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou for the reply but I did not understood this part "&lt;SPAN&gt;&amp;nbsp;store it in the cache as a calculation table to improve performance.&lt;/SPAN&gt;" Is there any technote or any example of how to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 13:18:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2293517#M830956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-20T13:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2294569#M831265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That means create a new table in power bi data. In power bi, you can use DAX to create columns or measures.&lt;/P&gt;
&lt;P&gt;Columns&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Power BI calculates and saves the results when the user has finished writing the dax immediately.&lt;/P&gt;
&lt;P&gt;Measures&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Power BI calculates result depend on the current content when the user uses this measure.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you said, "&lt;SPAN&gt;it will do calculation for 30 days*86400=2592000 rows which is not a feasible option.",&amp;nbsp;so, creating a new table or column in advance, rather than adding this table as a procedure table in the measure, will improve performance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then create a measure i have posted for filter pane.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can share your pbix file without sensitive data if you need more help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 02:12:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2294569#M831265</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-01-21T02:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2295101#M831402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320777" data-lia-user-login="v-chenwuz-msft" class="lia-mention lia-mention-user"&gt;v-chenwuz-msft&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to calculate maximum licenses used only for the dates selected in new table. For eg:&lt;/P&gt;&lt;P&gt;If user selects 14th Jan 2022, then all the time periods of that date should have maximum license value in new table&lt;/P&gt;&lt;P&gt;Is this possible? If yes, how?&lt;/P&gt;&lt;P&gt;Also, I am modifying my pbix file to keep only required data and will attach it shortly&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 08:09:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2295101#M831402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-21T08:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting maximum concurrent license usage only</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2296129#M831712</link>
      <description>&lt;P&gt;&lt;A title="LicenseUtilization" href="https://inoffice-my.sharepoint.com/personal/kavita_asthana_emea_adecco_net/Documents/Attachments/LicenseUtilizationTest.pbix" target="_self"&gt;https://inoffice-my.sharepoint.com/personal/kavita_asthana_emea_adecco_net/Documents/Attachments/LicenseUtilizationTest.pbix&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching pbix file&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 18:33:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Getting-maximum-concurrent-license-usage-only/m-p/2296129#M831712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-21T18:33:43Z</dc:date>
    </item>
  </channel>
</rss>

