Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Help with Summary Table please (Context issue?)

$
0
0

Hello,

 

Could someone please help me specify the correct context for the following?

 

I have the following table of interactions for an Incident

 

Incident IdDateUsernameStatusFLAG Interaction Type #1...Interaction Type
ATime 1Username 1Based on Previous(Status) etc will be 1 if matches status, or NULL if not
ATime 2Username 1
ATime 3Username 2
BTime 1Username 1

 

Incase it matters, Incident Id, Date, and Username are all merged dimensions of two query results.

 

I now want to create a summary table of the count of each type of Interaction Types for each Username.

 

 

UsernameInteraction Type #1Interaction Type #2
Username 154
Username 2

 

I have tried multiple variants of contexts, and sum/count but the totals are never correct and I cannot work out why.  I have spent many hours reading about contexts.  I think that potentially how I am writing the context is changing the results whether it meets the criteria of the interaction type, or I am just getting the context completely wrong... The last one I've tried:

 

Sum([FLAG Interaction 1]) ForEach ([Incident Id]; [Date]) Where ([Date] = [Today])) ForAll ([Incident Id];[Date]))

 

Can someone please let me know how to write the context?

 

Many thanks!

 

Wayne


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>