# Can't define mulitple "expect\_table\_row\_count\_to\_be\_between" with different "row\_condition"

**URL:** <https://discourse.greatexpectations.io/t/cant-define-mulitple-expect-table-row-count-to-be-between-with-different-row-condition/1178>\
**Category:** GX Core Support\
**Created:** [March 7, 2023, 4:19pm UTC](https://discourse.greatexpectations.io/t/cant-define-mulitple-expect-table-row-count-to-be-between-with-different-row-condition/1178 "2023-03-07T16:19:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mike\_f50](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/mike_f50/32/169_2.png) [@mike\_f50](https://discourse.greatexpectations.io/u/mike_f50)\
**Post date:** [July 4, 2024, 9:11am UTC](https://discourse.greatexpectations.io/t/cant-define-mulitple-expect-table-row-count-to-be-between-with-different-row-condition/1178/2 "2024-07-04T09:11:17Z")

</div>

I know this is an old thread, but this link may help others experiencing similar problems:

> [@Similar expecations overwriting one another](https://discourse.greatexpectations.io/t/similar-expecations-overwriting-one-another/1695/1):
>
> I am building an expectation suite in python, and am coming across a few different scenarios where adding another expectation of the same type seems to overwrite an existing one. Example 1: expect\_column\_values\_to\_be\_in\_set (different value\_sets for same column) cohorts = ["Cohort1","Cohort2","Cohort3"] validator.expect\_column\_values\_to\_be\_in\_set( "Cohort", value\_set=cohorts, meta={ "profiler\_details": { "metric\_configuration": { "metric\_name": "cohort\_in\_approved\_set" } } } ) val…

---

_[View the full topic](https://discourse.greatexpectations.io/t/cant-define-mulitple-expect-table-row-count-to-be-between-with-different-row-condition/1178)._
