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

Remove rows, based on values?

Morning team, hope you are well.

Something so simple, is causing me a headache, which hopefully you can help

I have a straight table like below, showing four columns of differing data.

Ideally, where the worked hours are 0, i'd like to remove the whole client row.

Suggestings? That would be most welcome

Thanks

1 Solution

Accepted Solutions
stabben23
Partner - Master
Partner - Master

Hi Marcus,

you are actually look for a value in workhours that is grather than 0.5. You have rounded up to an Integer as format.

A work around will be to create a New Expression, a copy of Worked Hours (000s), pic 1, make sure that in number it will have Expression default. Place the Expression first, then go to Dimensions Limit and add in pic 2. Then hide the column as in pic 3.

View solution in original post

11 Replies
sahadevpatil140
Partner - Contributor III
Partner - Contributor III

can u please share sample data??

vineetadahiya12
Contributor III
Contributor III

Hi Marcus,

You need to put it in Set Analysis way. Can you share the expression you are using for Worked Hours. You can refer thread  Hiding rows based on condition

if this helps

tamilarasu
Champion
Champion

Hi Markus,

You have to write your expressions like below.

PTIM%                =>  If([Worked Hours (000s)] >0, PTIM% expression)

Revenue (000s)  =>  If([Worked Hours (000s)] >0, Revenue (000s) expression)

PTI Margin          =>  If([Worked Hours (000s)] >0, PTI Margin expression)


and make sure "Suppress Zero Values" option is ticked in Presentation tab.

shiveshsingh
Master
Master

You need below expression

if(Field>0,your expression) as Worked Hours.

Btw can you share the expression?

marcus_steggall
Creator
Creator
Author

Many thanks, for your replies so far everyone

I've applied this and attached the qvw, showing the expressions.

Still show's the rows, where the worked hours are Zero.

Any idea, where I am going wrong here?

Much appreciated

shiveshsingh
Master
Master

Your attachment is having section access, please remove it and then share

marcus_steggall
Creator
Creator
Author

Apologies all, section access removed!

shiveshsingh
Master
Master

I'm sorry but it's not loading,

stabben23
Partner - Master
Partner - Master

Hi Marcus,

you are actually look for a value in workhours that is grather than 0.5. You have rounded up to an Integer as format.

A work around will be to create a New Expression, a copy of Worked Hours (000s), pic 1, make sure that in number it will have Expression default. Place the Expression first, then go to Dimensions Limit and add in pic 2. Then hide the column as in pic 3.