All, first a couple quick things:
Hi! I’m Jeremy, totally new to the Amazon QuickSight product and Community, and really glad to be here! I come from a long line of Siebel/Oracle analytics (OBIEE) and again, let me just say that I’m really glad to now be in this club… I’m also at my first re:Invent this week and really hope to meet meet some of you tomorrow morning at the QuickSight meetup!
When coming from any other platform, my first inclination is to look to see how I would do what I was super familiar with before in the old tool/paradigm. Love all that I’ve learned how to do thus far in QuickSight.
My main issue I can’t seem to crack right now is how to create dimensionally filtered/aware measures/aggregations. I’ve been playing with LAC and watched the AWS webcast about pre/post agg, etc, but I still seem to be missing “how do I filter an aggregate for only certain dimension matches?” LAC-A and LAC-W seems to be more about aggregates at the respective dimensional level (which I also need and is helpful); but I don’t see how I use them to filter specifically.
Here’s an example from my old world. It boils down to being able to embed a CASE statement within the aggregate wrapper:
The “logical calc” syntax would look like this:
- Southern Region Units:
FILTER( SalesFacts.Units USING Markets.Region = ‘SOUTHERN REGION’)
- Western Region Units:
FILTER( SalesFacts.Units USING Markets.Region = ‘WESTERN REGION’)
Where “SalesFacts.Units” above was a measure with SUM agg. So the translated relational SQL generated would render something like (if analyzed by year):
SUM(CASE WHEN Region = ‘SOUTHERN REGION’ THEN Units),
SUM(CASE WHEN product = ‘WESTERN REGION’ THEN Units)
WHERE Region = ‘SOUTHERN REGION’ OR Region = ‘WESTERN REGION’
GROUP BY year
I’m working with call data. My need is to create a “number of missed calls” (a count of call ID filtered by ‘missed’) and divide that by all calls count (unfiltered). But I keep running into errors in QuickSight calc editor.
I feel like I’m missing something obvious here, and have scoured the docs, videos and this forum for answers, and I’m coming up short on my searches. Can someone please point me to what I should read so I can do my homework on this?
Thank you guys!