Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I have below expression work fine :-
=if(Match(SOURCE,
'TDSID',
'G2-AP')
, SOURCE)
Above expression will list SOURCE = TDSID , When SOURCE Is not select.
Now my issue is when user select SOURCE - TDSKL , IT There any way i can force the table display SOURCE=TDSID
mY Objective is to use this for qlik sense , as QS don't have button action.
Paul
Create a Table
Dimension
COMPANY
SOURCE
Expression
IF(GetSelectedCount(SOURCE), SUM({<SOURCE+={'TDSID','G2-AP'}>}(days3 + days6 + days9 + curren)),
SUM({<SOURCE={'TDSID','G2-AP'}>}(days3 + days6 + days9 + curren)))
my QVW
Hi,
Your requirement not clear. where you want to implement it in straight table/ pivot table or table box
If you are using it in expression then write set analysis
sum({<source={"TDSID"}>}measure)
Regards
hI mAX
It work , but when user select SOURCE = TDSKL , The table display blank. How to make it display ?
Paul
Hi,
what is source? a field from table?
It must work. because in this expression you are hardcoded value of source so it will not get impacted by any selection.
Regards,
Hi Max
SOURCE is a field from sales Table.
for example SOURCE = TDSKL , Refer to malaysia
for example SOURCE = TDSID , Refer to indonesia
IF Not select any thing from SOURCE , It work fine.
Paul
Hi Paul,
Try like this:
Sum({<Year={'2016'}, source={'TDSID'}>}Sales)
Regards
KC
Hi,
try with if condition with getselectedCount() and getFieldSelection()
Regards
hI mAX
I prepare a more simple data file, for this QVW , it only have payment table , compare to previous on include all table, may be you can take a look where i go wrong ?
Paul
Hi Jyo
I have try but still cannot.
Paul