Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculation Condition

hi,

i'm working in a dynamic table, but i have 1 dimensions and 2 expression in-lines

the dynamic table depends of the 3 in-lines.

obviously the principal its the dimension inline and i have in order to organize the units separately of money expressions in 2 different in-lines.

if the user only wants to watch units information he selects those expressions.

if the user only wants to watch money information he selects those expressions.

if the user wants to watch unit and money information he select the expressions he wants.

the problem that i have its that i don't know how to control the visualization of 2 expression in-lines because

if the user selects for example units expressions the table shouldn't show the money expressions.

if the user selects for example money expressions the table shouldn't show the units expressions.

right now if i select only units expressions the money expressions are showing or backwards.

the calculation condition that i have in the moment its:

Count(GetFieldSelections(Dimensions)>1) and (Count(GetFieldSelections(Units)>1) or Count(GetFieldSelections(Money)>1))

how i can do this?

1 Solution

Accepted Solutions
Not applicable
Author

tnks Anand you give a great idea

in the calculation condition i put that so its


Count(GetFieldSelections(Dimensions)>1) and

( GetSelectedCount(money)>=1 or GetSelectedCount(units)>=1 )

but in the conditional of each expression the same

if(GetSelectedCount(money)>=1,SubStringCount(Concat(money,'|'),'xxxx'),0)

if(GetSelectedCount(units)>=1,SubStringCount(Concat(units,'|'),'yyyy'),0)

tnks!!

View solution in original post

8 Replies
MK_QSL
MVP
MVP

Anonymous
Not applicable
Author

Hello,

Try:

Getselectedcount(Dimensions)>1

BR

Serhan

its_anandrjs

Hi,

You can use the Adhoc reports functions also for this.

http://community.qlik.com/docs/DOC-5404

Regards,

Anand

Not applicable
Author

hi

Manish i'm using that post by if you can see it only have q one dimension and one expression it doesn't solve my problem

Not applicable
Author

hi Anand,

its the same of Manish

i'm having 2 measures or expression tables with one dimension table, how i can control 3 tables in the calculation condition??

its_anandrjs

Then implement with Getselectedcount() woth dimension selection count, IN the chart layout properties enable or disable the chart with condition

Getselectedcount(FieldName) = 1

Or

Getselectedcount(FieldName) > 1

Regards

Anand

Not applicable
Author

tnks Anand you give a great idea

in the calculation condition i put that so its


Count(GetFieldSelections(Dimensions)>1) and

( GetSelectedCount(money)>=1 or GetSelectedCount(units)>=1 )

but in the conditional of each expression the same

if(GetSelectedCount(money)>=1,SubStringCount(Concat(money,'|'),'xxxx'),0)

if(GetSelectedCount(units)>=1,SubStringCount(Concat(units,'|'),'yyyy'),0)

tnks!!

its_anandrjs

Thanks it worked for you

Regards

Anand