Professional Documents
Culture Documents
Set Analysis: Heat Chart (Apply Variable Expression)
Set Analysis: Heat Chart (Apply Variable Expression)
Chapter 7
Set Analysis
steps:
Right click → new sheet object → chart → pivot
Dim: branch and month
Exp: $(profit%)
visual cues : > = 0.15 green / normal is blue / < = 0.10 red
Note:
To get the orange...
1 | Page
Business Analytics By: Hasan Sahily
2 | Page
Business Analytics By: Hasan Sahily
What-IF analysis
3 | Page
Business Analytics By: Hasan Sahily
Set Analysis
Assume we have two groups, g1 and g2. They contain the following
g1 : samir , ahmad, tony
g2 : ahmad ,abed, rami
g1 + g2 : union (All)
samir , ahmad , tony , abed , rami
g1 * g2 : common / intersection
ahmad
Steps:
4 | Page
Business Analytics By: Hasan Sahily
Create a bar chart to compare the net sale between two selected branches
Dim: branch
Exp1: sum({g1 * $} netsale) common between g1 and selected listbox
Exp2: sum({g2 * $} netsale) common between g2 and selected listbox
Q7- find total netsale for year = 2016 and branch = hamra
sum({<Year={2016},branch={'hamra'}>} netsale)
Q8- find total netsale for year 2016 and branch= hamra or achrafieh
sum(netsale)
sum({ } netsale)
sum({< > } netsale)
sum({<Year={2016}, branch={ ‘hamra’ ,‘achrafieh'} > } netsale)
Q10--find total net sale for the intersection between selected branches and cola, barbir
sum(netsale)
sum({ } netsale)
sum({< > } netsale)
sum({<branch *= {'cola','barbir'}> } netsale)
5 | Page