Hello @stanh
This is doable directly in VA designer, but the easiest way would be manipulate the data structure to better support vizualisation.
If you want to do it with this data structure here's the steps that I did.
Use New aggregated data source... to create three new data sources: SW1, SW2, SW3 Selected items are Software n and Number of copies n (where n is 1, 2, 3)
Use New data source join... to join SW1 and SW2 -> SW1SW2 Join type: Full Join. Join conditions: Software 1 = Software 2 Choose columns: Software 1, Number of copies 1, Software 2, Number of copies 2
Use New data source join... again to join SW1SW2 and SW3 Join type: Full Join. Join conditions: Software 1_2 = Software 3 Choose columns: Software 1, Number of copies 1, Software 2, Number of copies 2, Software 3, Number of copies 3
Create a New calculated item called My SW Notice that I've renamed columns f.ex. Software 1 -> SW1. I have probably done some other renamings along the way, but don't remember all.
IF ( 'SW1'n NotMissing )
RETURN 'SW1'n
ELSE (
IF ( 'SW2'n NotMissing )
RETURN 'SW2'n
ELSE 'SW3'n )
Create a New calculated item called My Copies
(
IF ( 'Number of copies 1'n NotMissing )
RETURN 'Number of copies 1'n
ELSE 0 ) + (
IF ( 'Number of copies 2'n NotMissing )
RETURN 'Number of copies 2'n
ELSE 0 ) + (
IF ( 'Number of copies 3'n NotMissing )
RETURN 'Number of copies 3'n
ELSE 0 )
Then create a Pie Chart using category My SW and measure My Copies.
I hope this helps.
Best regards,
Petri
... View more