# Calculation Help for calculating unique transaction count

**URL:** <https://community.amazonquick.com/t/calculation-help-for-calculating-unique-transaction-count/25561>\
**Category:** Q&A\
**Tags:** error, developer, quick-sight\
**Created:** [February 6, 2024, 11:15am UTC](https://community.amazonquick.com/t/calculation-help-for-calculating-unique-transaction-count/25561 "2024-02-06T11:15:12Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Neeraj](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/neeraj/32/15309_2.png) [@Neeraj](https://community.amazonquick.com/u/Neeraj)\
**Post date:** [February 8, 2024, 3:38am UTC](https://community.amazonquick.com/t/calculation-help-for-calculating-unique-transaction-count/25561/9 "2024-02-08T03:38:07Z")

</div>

@deepa.singh , It’s not error but the way you are handling calculation is not right approach.  
You can achieve distinct count simply by using  
distinct\_countIf({aura\_tran\_key}, {rule\_execution\_status} = “TRUE”)

This will count aura\_tran\_key when one of the rule execution is found to be TRUE. You can refer [this dashboard](https://community.amazonquick.com#Arena-dashboardId=8ec03a07-747d-42a4-aca7-87f71eee47fe&authorId=CU-156) on Arena

This is based on problem statement you have provided. In case you need more assistance , please create a sample dashboard with sample dataset showing your problem state using **Arena** and post it here. (Details on using Arena can be found here - [Quick Sight Arena](https://community.amazonquick.com/t/21437) )

---

_[View the full topic](https://community.amazonquick.com/t/calculation-help-for-calculating-unique-transaction-count/25561)._
