Sliced Table Does Not Display All Results

BSWJON

Board Regular
Joined
Mar 24, 2014
Messages
109
Office Version
  1. 365
Platform
  1. Windows
Please could you help answer this (probably) basic issue:

  1. I have a table with headings as below
  2. I have slicers for site, year, date, LTA type
  3. When using the slicers to refine the data, the data displayed is missing 99% of the rows- so when I refine by year 2021, for example there should be 20 rows of data, instead it shows 1 result, incidentally this is the most recent entry.
Notes
  1. The slicers are not linked to any other report connections
  2. The slicers are not linked to any macros
  3. The data is not filtered in any other way
  4. The table does not source data from elsewhere
  5. The 'year' data is =DATE and formatted to YYYY.

Any help on this matter would be most appreciated!

SiteDateMonthLTA TypeIncident TypeEmployee(s) InvolvedNature of Injury / DamageBrief Description of IncidentAction TakenYear
BOG30/6/21="","",[@Date])]JunN_A="","",[@Date])]2021
FTW22/7/21="","",[@Date])]JulN_AN/ANone="","",[@Date])]2021
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
The 'year' data is =DATE and formatted to YYYY.
Don't do that, use the YEAR function, as in '=IF([@Status]<>"",YEAR([@Status]),"")

Bye
 
Upvote 0
Thanks for the input Anthony, I'm afraid that didn't work though. I've tried the following formula also:

=IF([@Date]="","",YEAR([@Date]))

However this returns 1905 rather than the actual year. It is strange as in other worksheets the formula works fine?
 
Upvote 0
Of course you had to adapt the formula to your table structure, and you did it correctly.
If the resulting Year is wrong, then I suspect that the column "Date" doesn't contains a true date: if you format the column as "number with two decimals" what do you read?

Anyway, how the slicer workde after you created a value in under Year? (non only a formatted view)

Bye
 
Upvote 0
Yeah I did adapt it to no avail.

I've changed my exisiting formula to reference the cell rather than the range name, (so instead of [@Date] it is now C9) and the formula now works fine.

Just an idiosyncrasy of excel i guess?
 
Upvote 0
Solution

Forum statistics

Threads
1,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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