Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

P& L Account

Hi Friends

I Have created a P&L account using Interval Match Concept explained in

There you get following figures

Gross Sales              10000

  Sales Returns          -1000

  Invoice Discount      -  500

  Sales Promoton       -1000

Net Sales                  7500

In my data table above minus figures are recorded as positive figures but the Net sales should be Rs.7500/- How can I do the modification to data model to solve this problem . Pls help

Labels (1)
2 Replies
trdandamudi
Master II
Master II

Is it possible to multiply Sales Return, Invoice Amount and Sales Promotion with -1 ? so that you get the desired result...

Not applicable

Hi. We solved a similar problem for a p&l report by adding an extra field in the the p&l format table which indicated the sign for the specific row, i.e. 1 against all positive rows and -1 for all expense rows…something like:

P&L Header                     Sign

Net Sales                              1    

Sales Return                         -1

Invoice Discount                    -1

…..

Then in the chart expression just multiply with Sign field….

sum(…..Amount)*(Sign)