Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

How to make an expression display nothing at some level

Hello got a pivot table with dimensions:
Workgroup, Resource, Month Year, and Project

I got 2 expressions:

Planned mandays and availability

I want the availability to show results only at the level of workgroup, month year, and resource
I tried using the aggr but it shows the total at resource for one project

comm.PNG

 

I can walk on water when it freezes
2 Replies
lblumenfeld
Partner Ambassador
Partner Ambassador

HI. Just to understand what you're specifically asking for, are you saying that you only want the total for availability to be blank at the project level?

If so, then you should be able to accomplish that using the Dimensionality() function.

Based upon the image posted, I think the dimensionality of project is 3. Therefore, you could try something like:

If Dimensionality() > 2, '', [availability])

If you add DImensionality() as a measure (temporarily) then you can verify what the value is for each Dimension.

 

ali_hijazi
Partner - Master II
Partner - Master II
Author

thank you for your reply

I did try this but the thing is that users may change the order of dimensions and this will break the logic of using dimensionality() check in the expression

I can walk on water when it freezes