Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
praveen1108
Creator
Creator

Where condition in Expression in a Table

Hi,

Can any one help me if i have to write a where condition in expression for my Table how can we do that.

I know if we have a measure then we can do Sum({<BU={"Finance"}>} Amount) but without measure how can we do that.

Regards,

PK

1 Solution

Accepted Solutions
harsh44_bhatia
Creator
Creator

If you do not wish to do this in expression, the other way is to make dept as a calculated dimension.

if(Dept<>'Finance',Dept) and under the properties of calculated dimension select suppress where value is NULL.

View solution in original post

4 Replies
robert_mika
Master III
Master III

Can you give an example of what you tying to achieve?

praveen1108
Creator
Creator
Author

I have a data grid or table showing some list of records and i wanted to put a filter where some Dept='Finance' which is a flag.I wanted to do in an expression not in data load Editor

For Example: this is my table and i have some no of records like

SerialNo  Description  Dept      

100          XXX          Finance   

2000        YYY           Support   

and i want to fetch only Dept='Finance'

Regards,

PK

harsh44_bhatia
Creator
Creator

If you do not wish to do this in expression, the other way is to make dept as a calculated dimension.

if(Dept<>'Finance',Dept) and under the properties of calculated dimension select suppress where value is NULL.

praveen1108
Creator
Creator
Author

Thank you very much harshit..It helped me...