Need some help on report filter

harky

Active Member
Joined
Apr 8, 2010
Messages
405
Office Version
  1. 2021
  2. 2019
Platform
  1. Windows
Hi, is it possible to filter report by [English]

I had a table which show

Student ID | subject
001 | English
001 | maths
002 | science
002 | English
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Typically, it is best to based all Forms and Reports on Queries, and not on Tables directly.
If they are based on Queries, you can add any Filters and calculations that you like, and easily change them.
You can even use Parameter Queries, which will prompt the user to enter a filter value at run-time.
 
Upvote 0
Actually I set the filter on my Queries but when I base on the Queries to create the report. It don't generated out what base on the filter I set on my queries. I want to hard-coded it rather than let user input it.

I filter to display [English] on queries but it still display other all subject on my report.
 
Last edited:
Upvote 0
Yes I did.. But when I create report. It don't filter and display English.

Is not the query is the report
 
Last edited:
Upvote 0
First create the query that filters for English.
Then base the report on that query.
 
Upvote 0
Yes I did.. But when I create report. It don't filter and display English.

Is not the query is the report
If sounds like the Query is NOT the Record Source of your Report.
If you open your Report, and go to the Properties, see what the Record Source is set to.

As Xenou stated, the usual order of events is to create the Query first, then create the Report off of the Query, not the Table.
If you do that, the Record Source of the Query will automatically be set to your Query. And you can edit the Query after that, and those changes will be reflected on the Report.
 
Last edited:
Upvote 0
thanks all..
i think i fix the problem

Solution is
I change my Subject column to text box in design view
There was a drop down list so it wont able to display the English which suppose to.. :)
 
Upvote 0

Forum statistics

Threads
1,221,687
Messages
6,161,289
Members
451,695
Latest member
Doug Mize 1024

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