How to convert number into percentage in calculated field?

Hi, I’m trying to do cohort analysis. I want to convert number into percentage in calculated field. I figured out by using percentoftotal but the number is already calculated by distinct_count. Then i hadto divide the number by the number in the first cell. I noticed it was the biggest one in the row so i wrote: {num_of_pub_having_order} / maxOver(max{num_of_pub_having_order}, [{transaction_sales_time}], PRE_AGG). It kept saying error.
Btw, i don’t know how to deal with such many 0 value and null row too. Thanks in advance !

Hi @thecuon119,

Thank you for posting in the Amazon QuickSight community.

Please review the link below to guide you.

If this was able to help, you can mark as solved.

Regards,
Demola

1 Like