Jump to content

Recommended Posts

Posted

Hi Forum,

In one of my requirements, I need to calculate sales where sales = sold-credited.

I've individual queries for sold and credited (I can not combine them to get in one sql query) & making them available in two data sets. 

Now, I would like to perform minus as per the formula quoted above. 

Is there any way to achive this at report level ( or using java code) ? 

Thank you in Advance :-)

 

- Sadakar Pochampalli

 

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

Just thinking off the top of my head....

Is all of the data in just one DB? If so, you should be able to do a union of the two queries.

We do have something called a Virtual Datasource that could combine two DBs into one Data Source (Virtual Data Sources)

Or possibly one query works in the main report, the other in a sub-report?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...