Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dimension in set analysis

Hello!

I habe a dimension YYYYMM which will be the ascending year and month and i want to count the Field No_ for each dimension where the fields beginYYYYMM <= YYYYMM and endYYYYMM >=YYYYMM

I tried some code samples of the community but i failed

Please help

regards

Georg

3 Replies
Not applicable
Author

Count({<YYYYMM={">=$(beginYYYYMM)<=$(endYYYYMM)"}>}Rowno)

Not applicable
Author

I´am getting the same Value for each row.

Unbenannt.jpg

I tried

Count({<YYYYMM={">=$(beginYYYYMM)<=$(endYYYYMM)"}>}[Account No_])

jagan
Luminary Alumni
Luminary Alumni

Hi,

I think your expression won't work because the compare is done based on the string not date.  If you have corresponding dates for all the YYYYMM fields then you can do this by using this fields

=Count({<YYYYMMDateField={">=$(=beginYYYYMMDateField)<=$(=endYYYYMMDateField)"}>}[Account No_])

Hope this helps you.

Regards,

Jagan.