Forum Discussion
Dax &&& || Question
Hi,
So I always get confused with the && || in DAX.
I want to query a table, where project type is 1 or 2, and also I want the creation date for the project to be after 1 jun - in both cases.
If I write [project type]=1 || [project type]=2 && [creation date] >1 jun. Will it serve the purpose? Or I will get only the creation date for 1 jun in project type=2...
Thanks
campelliann you will do this:
([project type]=1 || [project type]=2) && [creation date] >1✨ Follow us on LinkedIn
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
1 Reply
- parry2kSuper User
campelliann you will do this:
([project type]=1 || [project type]=2) && [creation date] >1✨ Follow us on LinkedIn
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡