Any of the part databases above would give you the info you seek. Just input the last 7 digits of your VIN...then work your way to the diagram and part nbr index for the cargo cover. You should be able to tell by the data in the supplemental part nbr columns if there's a build date and/or option code required if there's multiple numbers listed for covers.
You can also click on the part nbr (or other type of link) that will explode to a list of other BMW models that use the same part nbr.
For example...the diagram below shows #15 & #12 as the two types of cargo covers. If you go to the database and input your VIN or select the appropriate selections for your model/build date etc...then the part nbr index will list
which one of the cargo covers that is used for X5s with your build date: