Preview:
Create a weight factor based on some variable

weight_factor = COUNT(dimension) / TOTAL(COUNT(dimension))

AVG(measure) * weight_factor
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter