Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
stanlyrj
Contributor III
Contributor III

Calculating total lines in P&L Reporting

Hi Community,

Here I'm trying to calculate Total lines from a P&L table.

The below given is the structure of my P&L table.

P&L.PNG

I have tried using aggr() and sum().

Can anyone suggest me any expression to solve this issue?

Thanks in advance.

Regards,

Stan

1 Reply
PrashantSangle

use recNo() while loading data

then use max(recNo) to get total no of rows in table

or

add 1 as flag in load script

and use sum(flag) to get total no of rows.

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂