Hello there,
So are you getting an error message or is the logic not definitive?
A common type of report is the master/detail report, in which the report begins by showing some set of "master" records. The user can then drill down into one of the master records, thereby viewing that master record's "details."
There are many ways with which a master/detail report can be implemented. https://learn.microsoft.com/en-us/aspnet/web-forms/overview/data-access/masterdetail/master-detail-filtering-with-a-dropdownlist-vb
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–