Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
xufei123
Not applicable

Sense 3.0 - how to add total line to widget table

Hello,

When editing a table using Sense 3.0 widget, I don't see any components that can define the total line. I basically only need a switcher or check box that can allow user to decide to show the total lines or not like what we have in standard pivot table:

Is it doable and how to achieve it please?

Thanks.

Fei

1 Solution

Accepted Solutions
swr
Not applicable

Re: Sense 3.0 - how to add total line to widget table

That's what we are working on ;-)

7 Replies
xufei123
Not applicable

Re: Sense 3.0 - how to add total line to widget table

@Michael Tarallo Can you please help?

Thanks!

Michael_Tarallo
Not applicable

Re: Sense 3.0 - how to add total line to widget table

Hi Fei - let me see if I can get someone to assist,

Regards,

Mike T

Qlik

Regards,
Mike Tarallo
Qlik
xufei123
Not applicable

Re: Sense 3.0 - how to add total line to widget table

Thank you very much Mike.

If we can have more components in the widget in the future, that will make the widget more powerful.

Cheers.

Fei

swr
Not applicable

Re: Sense 3.0 - how to add total line to widget table

That's what we are working on ;-)

xufei123
Not applicable

Re: Sense 3.0 - how to add total line to widget table

Thank you so much Stefan!

Do you have any idea when the new version with the new components will be released? Just very roughly...?

pnowicki
Not applicable

Re: Sense 3.0 - how to add total line to widget table

From a different thread, here is the widget code for a table with a totals row. 

<table border="1">

    <thead>

    <tr>

        <th ng-repeat="head in data.headers">

            {{settings.customLabel.split(';')[$index]}}

  </th>

    </tr>

    </thead>

    <tbody>

    <tr ng-repeat="row in data.rows">

        <td ng-repeat="cell in row.cells">

            {{cell.qText}}

     

  </td>

  </tr>

  <tr><td>Total</td>

  <td ng-repeat="total in data.totals">

  {{total.qText}}

  </td>

    </tr></tbody>

</table>

swr
Not applicable

Re: Sense 3.0 - how to add total line to widget table

... have a look here into the original article: Table with dynamic label | qliksite.io