Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi all
i have a question.. i have a qv that loads a bunch of data points...
for example... banana,grapes,apples,spinach,lettuce,cucumber,etc
how do i create a filter in qv to say fruit and ill tell it fruit includes this data set and veggies include this data set?
thanks
Hi ,
Check out attachment .
I think thats what you desired. !
Its Possible in QV desktop Environment, but won't work if QVW is scheduled and filtered in changed from access point.
In script is simple, add a new field
load
field, // banana, grapes, ...
if(match(field, 'banana', 'apple', 'orange'), 'fruit',
if(match(field, 'spinach', 'lettuce'), 'veggies ',
'other')) as fieldtype
....
or you want allow the users to create the group without reload the app?
hi hirishv7
i dont see any attachments..
thanks
Hi jackie,
Here is the attachment .
Hope this helps
Hi Jackie,
if you still can't see attachments, it's probably because you open the thread from your Inbox. There is a glitch in the forum software that doesn't show attachments when you open the thread from the inbox. Click on the title of the thread on top of the list and follow this link to the actual discussion board. There, you will see the attachments.
cheers,
Oleg Troyansky
Hi,
you could also load the fruit/vegetable classification in a seperate table like:
tabYourQVD:
LOAD RowNo() as ID,
Ceil(Rand()*100) as SomeRandomFact,
*
Inline [
Name
banana
grapes
apples
spinach
lettuce
cucumber
]
While IterNo()<=Rand()*5;
tabFruitVeggies:
LOAD * Inline [
Name,Type
banana,fruit
grapes,fruit
apples,fruit
spinach,vegetable
lettuce,vegetable
cucumber,vegetable
];
or joined to your QVD-table like:
tabYourQVD:
LOAD RowNo() as ID,
Ceil(Rand()*100) as SomeRandomFact,
*
Inline [
Name
banana
grapes
apples
spinach
lettuce
cucumber
]
While IterNo()<=Rand()*5;
Left Join (tabYourQVD)
LOAD * Inline [
Name,Type
banana,fruit
grapes,fruit
apples,fruit
spinach,vegetable
lettuce,vegetable
cucumber,vegetable
];
(Nevertheless Applymap (like already suggested by hirishv7) might be the better choice: Don't join - use Applymap instead)
hope this helps
regards
Marco