Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
LuisGramillo
Partner - Contributor II
Partner - Contributor II

Fixed Measure for specific field

Hi everyone,
I am currently working on the display of available time for bots, given the following master measure:
MAX( AGGR( 1-SUM(Hours) / ( COUNT(Day)*24 ) , Bot) )
I will like to set the maximum available time per bot and keep this value when specific bots are selected, I want to be filtereds by day, month or other fields different from Bots.

Do you know how to achieve this?

Labels (2)
1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

Try this 

MAX(

  AGGR(

    1 - SUM({<Bot=>} Hours) / (COUNT({<Bot=>} Day)*24),

    Bot

  )

)

View solution in original post

1 Reply
Chanty4u
MVP
MVP

Try this 

MAX(

  AGGR(

    1 - SUM({<Bot=>} Hours) / (COUNT({<Bot=>} Day)*24),

    Bot

  )

)