# Advanced conditions

**URL:** <https://community.holistics.io/t/advanced-conditions/1079>\
**Category:** Feature Suggestions\
**Created:** [July 27, 2022, 9:33am UTC](https://community.holistics.io/t/advanced-conditions/1079 "2022-07-27T09:33:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_H](https://community.holistics.io/user_avatar/community.holistics.io/alex_h/32/357_2.png) [@Alex\_H](https://community.holistics.io/u/Alex_H)\
**Post date:** [July 27, 2022, 9:33am UTC](https://community.holistics.io/t/advanced-conditions/1079/1 "2022-07-27T09:33:05Z")

</div>

It is currently possible to set a condition which refers to Top X of a value based on another value (which is great).

However, it would be really useful to be able to set other fields based on other fields e.g:

Show order values only on or after a certain date held on a field - rather than manual entry

In addition it would be great to be able to introduce more sophisticated logic e.g. a dimension contains x OR y OR is null.

Looker introduced custom filtering which was really helpful, it would be amazing to be able to have this sort of functionality [https://docs.looker.com/exploring-data/creating-looker-expressions](https://docs.looker.com/exploring-data/creating-looker-expressions)

---

<div class="post-metadata">

**Author:** ![vu.duong](https://community.holistics.io/user_avatar/community.holistics.io/vu.duong/32/483_2.png) [@vu.duong](https://community.holistics.io/u/vu.duong)\
**Post date:** [August 3, 2022, 10:41am UTC](https://community.holistics.io/t/advanced-conditions/1079/2 "2022-08-03T10:41:25Z")

</div>

Hi @Alex_H,  
Could you share more about the case where you want to set a condition for a field based on another field? As in what data question do you want to answer, and what would the expected result be?

Also, regarding the `OR` logical operator, this is indeed a valid use case and we are actively looking into this. 👍🏻  
Please also share if you want to use this operator in dashboard filters or report conditions? And what exact question do you want to answer here?

---

<div class="post-metadata">

**Author:** ![Alex\_H](https://community.holistics.io/user_avatar/community.holistics.io/alex_h/32/357_2.png) [@Alex\_H](https://community.holistics.io/u/Alex_H)\
**Post date:** [August 3, 2022, 11:06am UTC](https://community.holistics.io/t/advanced-conditions/1079/3 "2022-08-03T11:06:28Z")

</div>

Hi - say we wanted a date filter not set to an absolute date but rather to ensure the date was after a certain date held on another dimension e.g. give me sales to all customers after or before they had used a certain offer - in this case the date differs by customer.

---

<div class="post-metadata">

**Author:** ![vu.duong](https://community.holistics.io/user_avatar/community.holistics.io/vu.duong/32/483_2.png) [@vu.duong](https://community.holistics.io/u/vu.duong)\
**Post date:** [August 4, 2022, 9:10am UTC](https://community.holistics.io/t/advanced-conditions/1079/4 "2022-08-04T09:10:43Z")

</div>

I’ve got your case here, @Alex_H,  
This is interesting and quite valid. Will definitely note down these advanced use cases for our filters.

By the way, we are actively looking into revamping our Holistics expression. Though this is quite early to promise anything, we intend for it to enhance our filter functionality.  
Will keep you posted on any updates! Cheers 🍻

---

<div class="post-metadata">

**Author:** ![Phuong\_N\_Holistics](https://community.holistics.io/user_avatar/community.holistics.io/phuong_n_holistics/32/1420_2.png) [@Phuong\_N\_Holistics](https://community.holistics.io/u/Phuong_N_Holistics)\
**Post date:** [February 16, 2024, 10:17am UTC](https://community.holistics.io/t/advanced-conditions/1079/5 "2024-02-16T10:17:34Z")

</div>

Hi @Alex_H,

Thank you for being patient with us. We are excited to announce that a new feature called **Condition Group** has just been released to help you solve this “a dimension contains x OR y OR is null" use case. What’s more… it even lets you nest “AND”, “OR” conditions into groups.

Check out [our Release Note here](https://community2.holistics.io/t/launched-condition-group-with-nested-and-or-conditions/1794) and give it a try. And don’t hesitate to let us know if you have any feedback or question 😊

Cheers,  
Phuong.
