Jump to content
Changes to the Jaspersoft community edition download ×

Expression question


ozrebel

Recommended Posts

Hi

I am designing a report in Jaspersoft Studio and have data arranged in the following format

Col 1     Col 2     Col 3

data 1   data 2    data 3

data 4   data 5    data 6

What I would like some help with is in writing a query that will give me the contents of Col 3 when Col 1 = data1 and Col 2 = data 2

All fields are strings.

Would greatly appreciate some help on what might be the correct syntax.

Thanks in advance.

Tony

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Thanks for the response M.B. Morgan.

I guess I didn't make myself clear enough though.

What I was really looking for was a way to write a query in the Expression editor, as I already have an sql query which has delivered data to me in the format outlined.

Would be great to know if it's possible, or whether I have to re-write the sql to deliver the data in a different manner to start with.

Link to comment
Share on other sites

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...