Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
prrajendran
Contributor III
Contributor III

Restricted dimension

Hi Experts,

i have a straight table which has Reference number as dimension and two expressions.

my first expression brings the occurences of the reference number for the selected month

second expression brings the occurences of the reference number for the selected month and past 2 months from selection.

the expressions working fine.

 

but i want my dimension to be filtered only for the selected month.

i.e., 'RefA' reference number can be in multiple months

'RefB' in just the selected month.

 

then i want to display only 'RefB' in my dimension. how can i do this. please help

Labels (1)
2 Replies
Anil_Babu_Samineni

How is the measure looks like?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
prrajendran
Contributor III
Contributor III
Author

Expression 1:
count(DISTINCT TOTAL<AcNo>{<full_date={">=$(=min(full_date))<=$(=max(full_date))"}>}ReferenceNo)
Expression 2:
count(DISTINCT TOTAL<AcNo>{<full_date={">=$(=addmonths(max(full_date),-3))<=$(=max(full_date))"},Month=>}ReferenceNo)