TOTAL(distinct_count({Field_Name})), is not supported, is there any other option to do
Hi @Dafini,
Are you trying to just get the distinct count of your âfield nameâ field?
You can just remove the âTOTALâ:
distinct_count({Field_Name})
Let me know if youâre trying to accomplish something different!
No, Actually I am trying to find the Total distinct count of a field, since i am trying to use the total in a calculated field
Overall Percentage=(distinct_count({tracking_number})/TOTAL(distinct_count({tracking_number})))*100
Hi @Dafini,
So do you just mean a total of your field, not partitioned by each tracking number? Because using distinct count will give you a total. Based on your example calculation, it looks like youâre trying to use a partitioned number for the numerator and ideally, a non-partitioned total of your âtracking numberââŚis that correct?
month tracking no_count
jan 500
feb 300
march 250
Total. 1050
this is a sample table, what i am trying do is finding overall percentage for each month by creating a calculated field overall_percentage for example for jan =(500/1050)*100
instead of using total value directly i am trying to apply this formula here TOTAL(distinct_count({tracking_number}). but it says its not supported. can you provide any other option to do this
Hi @Dafini,
Thanks for the additional information, understood now!
I recreated this example with sample data in the attached [Arena view](TOTAL Calculation) for you to check out.
Once you open, click on the button in the left panel âcopy analysisâ so that you can open it up to see the calculated field I created.
I had to start by creating a month field: âOrder Monthâ and then used in âDistinct Count Calcâ
Note, instead of adding the *100, I would suggest changing the field type to show as percent and aggregation as âminâ:
Let me know if you have any additional questions.
Thank you @Brett for your clear solution, i really appreciate it