Cross tab issue

philky001

Board Regular
Joined
Jun 8, 2005
Messages
129
I'm doing a very simple report. I have a bolean field that I converted to 0 and 1 using sql CASE.

In the virtual view is defined as an Int.

When I create the Crosstab, the values column is the column RevSup that I converted to 1 and 0.

For some reason is not summing all the records that it should. It sees one of the same event, displays one and ignores the rest. I know I have 16 records with a value of 1. The crosstab only counts 11. I'm adding an image of the crosstab and an image of the pivot table in excel.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hello, it is nigh impossible to advise based on the description given. Maybe best to re-try to explain the situation.

Does a different query, I'm thinking a simple SELECT query, reveal which data is not reporting as expected? Or at least confirm the result.
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,412
Members
448,960
Latest member
AKSMITH

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