To filter first 3 records for each ID, create a calculated field with the formula: INDEX()>3
and then drag this calculated field onto Filters shelf and then select "Pane Down" from compute using by right clicking on the field (this calculated field) and select the value as "True"
Please mark this answer as helpful and correct if this helps.
kumar answer is correct but actual procedure is clearly mentioned below. first created once calculated field and put INDEX() IN IT... then place this field in Text.
then select compute using pane down so that for each ID it will create index as ranking.. like 1,2,3,4,5,6
then place this index in filter and select least value should be 4 so that first three will go off....