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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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