No, virtual tables are phenomenally powerful for use within measures, but are of very little utility when it comes to visuals, since there’s no easy way to output them - most visuals demand either a physical column or a scalar measure.
If you don’t mind using custom visuals, Microsoft has a pretty nice histogram visual that makes this task relatively straightforward.
Step 1: create a calculated column in your Final Results table of total score by student:
Total Marks by Student =
'Final Result'[Roll Number]
Step 2: Create a physical summary table of student roll number and the total score calculated column from Step 1 above:
Summary Student Totals =
'Final Result'[Roll Number],
'Final Result'[Total Marks by Student]
Step 3: Just drop the columns created in Step 2 into the appropriate wells in the custom visual:
And there’s the histogram. You can then play with the number of bins, axis formatting, etc.
If you don’t like using custom visuals, here’s a good video on how to do histograms from scratch.
Hope this is helpful. Enjoyed working with you on this.