Doubts with summarize(Count)

I want to put 3 summarize columns in a table with only two columns. How do I do it? I tried to create two empty columns in the table, but only 2 summarize fields appear. My code: return $table ->columns([ Tables\Columns\TextColumn::make('name') ->label('Nombre') ->searchable(), Tables\Columns\TextColumn::make('type') ->label('Tipo') ->summarize( Count::make('uno')->label('Nº total de clientes')->query(fn ($query) => $query), ) ->sortable() ->searchable(), TextColumn::make('') ->label('') ->summarize( Count::make()->label('Nº total de ayuntamientos')->query(fn ($query) => $query->where('type', 0)), ), TextColumn::make('') ->label('') ->summarize( Count::make()->label('Nº total de NO ayuntamientos')->query(fn ($query) => $query->where('type', 1)), ) ])->paginated([25, 35, 50, 100])->defaultSort('name', 'ASC')
Solution
Ok, thank you guys. But in the end, I'm leaving it as it is, the client hasn't bothered.
Was this page helpful?