Jump to content

unique count and if in value axis tibco spotfire


Arzu Mirzayev

Recommended Posts

UniqueCount(

If(([CASE_TYPE_ID]=2 Or [CASE_TYPE_ID]=1) And [WITHIN_TIME_FRAME]=1 And [CASE_STATUS_ID]!=7 And [CONN_STATUS]=1, [CASE_ID], null))

/

UniqueCount(

If([CASE_STATUS_ID]!=7 And [CONN_STATUS]=1, [CASE_ID], null))as [Open WTF / All Pending]

Why isn't this function giving the correct result It does not give errors, but as a result it does not take into account the internal conditions of the IF.

Link to comment
Share on other sites

Without having a sample data set it's hard to tell...

 

But you could create two calculated columns ('open wtf' and 'all pending') to get a better understanding on what's going on. Are the values what you expect

 

Or create two visualizations with 'open wtf' and 'all pending'

 

Simply break down your problem for further investigation.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...