I am having trouble comparing the current useremail() who is logged in, to the table i built that has all emails, along with corresponding names.
Table 1 (Payables)
Table 2 (Initial Table)
I need to compare the current email user with Table 2 emails - and show the corresponding name of that email user.
Solved! Go to Solution.
When it says โone randomlyโ, it really means it is taking the first item from the returned list. However, in this case, the returned list should only have one entry: that entry which the column [Email] matches USEREMAIL(). Therefore, the โone randomlyโ statement isnโt a concern.
Itโs not immediately obvious why @tvinciโs expression isnโt working - it appears correct. Make sure that:
Also, an equivalent way to write the lookup statement would be:
ANY(
SELECT(Initial Table[Name],
[Email] = USEREMAIL()
)
)
User | Count |
---|---|
15 | |
11 | |
10 | |
8 | |
3 |