query to report problem.

bharnett

Board Regular
Joined
Aug 5, 2004
Messages
94
I have a query that returns a currency pair (based on a IIF expression), a sum of a profit and loss field, and a expression that returns "custody" or "sales" (based on another IIF). All of these pull from a main static P&L table. Lastly, I have a field that is the Month function based the date field in this P&L table, it isn't shown in the results and has a criteria that is a user input for the month.

This works great and returns exactly what I want.

However,

When I use the report wizard to make a report for the three fields, it works great but it always asks me for PL.PandL. That is the field that this query actually sums up in the query, so I don't know why this pops up. If I enter ntohing it works fine. However, many users access this and I see this being a potential problem. Please help!! THANKS!!!!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
report problem

if you are entering nothing and the report returns fine, check out the sorting and grouping section of your report and see if it is pulling a field that isn't available in your query and then delete it out of your sort.
 
Upvote 0

Forum statistics

Threads
1,215,039
Messages
6,122,802
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top