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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dimension

I have a bar chart. My dimension is 'Usergroup' but I want the bar chart to only display all 'Usergroup' not equal to MGR or VP.

Any help would be great.

1 Solution

Accepted Solutions
nagaiank
Specialist III
Specialist III

Use calculated dimension defined as

If(Match(Usergroup,'MGR','VP')=0,Usergroup,Null())

and check 'Suppress when value is null'

View solution in original post

7 Replies
Not applicable
Author

In the expression add the below set analysis

{<Usergroup-={'MGR','VP'}>}

Kiran Rokkam.

nagaiank
Specialist III
Specialist III

Use calculated dimension defined as

If(Match(Usergroup,'MGR','VP')=0,Usergroup,Null())

and check 'Suppress when value is null'

Not applicable
Author

I already have two expressions. One for a count and one for a sum of hours.

 

=

count({<Date = {">=$(=weekstart(today(),0))<=$(=weekend(today(),0))"},
Month=, Day=, Year=, Week=, Quarter=>} distinct(TechID))*40

 

=

sum({<Date = {">=$(=weekstart(today(),0))<=$(=weekend(today(),0))"}>} TimeReportedActual)

Would that have to integrate with these or would it be by itself as another expression?

CELAMBARASAN
Partner - Champion
Partner - Champion

Try this

IF(Not Match(Usergroup, 'MGR', 'VP'), Usergroup)

Not applicable
Author

That worked perfectly. Thank you!

CELAMBARASAN
Partner - Champion
Partner - Champion

Then expressions should be

=

count({<Usergroup -={'MGR', 'VP'}, Date = {">=$(=weekstart(today(),0))<=$(=weekend(today(),0))"},
Month=, Day=, Year=, Week=, Quarter=>} distinct(TechID))*40

=

sum({<Usergroup -={'MGR', 'VP'}, Date = {">=$(=weekstart(today(),0))<=$(=weekend(today(),0))"}>}TimeReportedActual)

Set analysis is faster than calculated dimensions

Not applicable
Author

Neither of those work.

If set analysis is better I would prefer to do it that way.