Get resource consumption of a pod across all namepsace

Is it possible to create a dashboard that provides resource consumption(CPU, memory utilization, network utilization) across multiple namepsaces for a selected timeline ?

Let’s say, I have 10 namespaces and few pods are common across those - Ex. Nginx, MongoDB, agentPod & few others. Trying to get Nginx pod’s resource consumption data from all 10 namespaces on a single panel or on the single Dashboard for last 3 hours or last 24 hours etc. Same logic applies for other pods.

Is it possible ?

I came up with below configuration, but the challenge being, manually I have to select each namespace to populate the data.