Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Can we create Straight Table using Direct Discovery

Can we create Straight Table using Direct Discovery

13 Replies
sunny_talwar

I think so but you can only use measures for expressions. I think Dimensions won't be able for expressions.

avinashelite

Yes, you can but as Sunny mentioned ..Measures cannot be the part of dimension and be careful with volume of data

Anonymous
Not applicable
Author

Thanks for the post, I want to add the where clause, inside direct query like -

suppose, I have columns in direct query like -

col1, col2,col3

where col1 is having OSUser details, now if col1 is logged in user, I want to show col2 and col3 in either text box or in straight table.

I tried with Max function as per above link and also with where clause, but doesn't work.

any inputs.

sunny_talwar

You used Where clause in the front end object? I think for the front end object, try with If statement...

Just out of curiosity what is the expression you are trying right now?

Anonymous
Not applicable
Author

I have created a flag for dimension.

But Not able to fetch the data inside chart using where clause.

in above example, col1, col2 and col3 are measures only.

Anonymous
Not applicable
Author

I tried to use IF statement, like -

if(col1=OSUser(),col2)

But no luck....

Any help on this

stabben23
Partner - Master
Partner - Master

add all values in a tablebox, made a screenshot and explain what you try to do.

stabben23
Partner - Master
Partner - Master

ok, Measure is only visible with an aggregation like Sum(col1)