on 2024 Jun 09 1:12 PM
hello,
I have 2 queries
in query 1 I have distinct item and other columns
in query 2 I have
item, planner , user login, transaction date ,type
the item repeating because of the transaction date
my goal is:
bring the planner,uselogin from query 2 to base on the max(transactiondate) foreach(item) where(type=1) to query 1
I already merge both query on item
tried: if max(transactiondate) foreach(item) where(type=1)= transactiondate foreach(item)
then planner +' '+user login else ''
and even bring the max transaction date to query 1
but i cant bring the planner and the userlogin to query 1 its show me empty or context error
any help 🙏
thank you
User | Count |
---|---|
68 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.