Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove empty lines from table

Hi all,

Perhaps a simple question, but I'm having trouble figuring it out. I need to remove the Null values from a table (see attachment), but the first row should always be displayed! So 'don't show if value is empty' does not work here, since it will also not show the first row?

Thanks,

Stijn

16 Replies
Not applicable
Author

Well the first row always has the lowest km_val value (for that certain MRCE number). Perhaps this can be used?

Not applicable
Author

Perhaps it is easier to delete the duplicate km_val in table2? see attachment

Not applicable
Author

I need the first row because it shows the beginning km_val for that MRCE value. And it has no previous date, so the first row should display -, while the other rows should only show the date and not a -

Not applicable
Author

Is anyone having an(other) idea?

CELAMBARASAN
Partner - Champion
Partner - Champion

You could try something like this

If(RowNo()=1, [MRCE Nr.], Only({<[Prev wo_date]={'*'}>}[MRCE Nr.]))

or this one

Only({<wo_date={'$(=Min(wo_date))'}>+<[Prev wo_date]={'*'}>}[MRCE Nr.])

senpradip007
Specialist III
Specialist III

PFA

Anonymous
Not applicable
Author

Try this:

load the data from the excel sheet

load with noconcatenate from resident with rowno()

and order by km_val

load

rowno(),

if (rowno()=1, km_val) as StartKMVAL

...

...

resident PrevTable

order by km_val

Then you should be able to define

if (StartKMVA), "Start KM", wo_date)

and the first row should be displayed