Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
agastya
Creator
Creator

Total mode expression total return 1

Hello All,

I am facing issue with Total Mode Sum and Expression Total .If i am selecting Sum as a total mode its giving proper count if i am trying to change it to Expression total value returning 1

count(DISTINCT aggr(if(AGGR(if(min(DRAWING_REVISION_Number)='','',if(min(TOTAL<Test> DRAWING_REVISION_Number) and min(DRAWING_REVISION_Number)=1,
'1',if(min(TOTAL<Test> DRAWING_REVISION_Number)=min(DRAWING_REVISION_Number),-1,min(DRAWING_REVISION_Number)))),DRAWING_REVISION_Number,Test)
>1,COUNT(DISTINCT Test)),DRAWING_REVISION_Number, Test))

@sunny_talwar 

agastya_0-1614166545548.png

agastya_1-1614166574111.png

agastya_2-1614166598277.png

 

 

 

 

4 Replies
Chanty4u
MVP
MVP

Are you using any synthetic dimension in your chart?

agastya
Creator
Creator
Author

No chanty 

Chanty4u
MVP
MVP

can you try with sum of rows option?  still same issue?

agastya
Creator
Creator
Author

Sum of rows giving proper O/P as i shown in screenshot