Forum Discussion
Getting maximum concurrent license usage only
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.
Anonymous You can add a measure into the Filters on this visual section of the Filters pane.
- Anonymous4 years agoNot applicable
- v-chenwuz-msft4 years agoCommunity Support
Hi Anonymous ,
You can start by creating an aggregate table to find the maximum value at each time, as Greg_Deckler says _Max, and store it in the cache as a calculation table to improve performance.
Then create a measure, such asmeasuredd if = IF( [LicenseUsageSecJob] = CALCULATE( MAX( 'new table'[countjobs] ), 'new table'[DateTime] = SELECTEDVALUE( DateTimeSec[DateTime] ) ), 1, 0 )put the measure in filter pane and set show item is 1.
You can share your pbix file without sensitive data if you need more help.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous4 years agoNot applicable
Hi v-chenwuz-msft ,
Thankyou for the reply but I did not understood this part " store it in the cache as a calculation table to improve performance." Is there any technote or any example of how to do this?