Looking to Show If a primary view only if two criteria are valid. I have a list of members emails (Member_ID) and dates they have signed up for something. Iโm trying to show a โCheckInโ form only if their email address is present on the schedule and the date in the same row is = Today.
My formula:
AND(Lookup(โMember_IDโ,โCharter Schedulingโ,โMember Emailโ,โMember Emailโ)=USEREMAIL(),Lookup(โMember_IDโ,โCharter Schedulingโ,โMember Emailโ,โStart Dateโ)=Today())
And the yellow error:
This formula is not evaluated in the context of a row, so column values are not available.
It allows the formula without red error but the view is not visible after sync. Thoughts?
You are currently searching for the text value of โMember_IDโ, which is clearly not what you are intending.
I donโt understand enough about your data to suggest how to do what you want. Just that youโre currently using LOOKUP wrong. If you tell us more about your tables and the columns and their types, we can help point you in a better direction.
As far as this goes:
It is merely warning you (and everyone else) that expressions in that section canโt just refer to a [ColumnName]
directly, because there is no row to associate with the column to get a value.
Let me start from the beginning. Iโve created a view that I only want to show if the USEREMAIL matches to a table with a list of member emails. The column containing the emails might have duplicates. So another data point I want to use is the date. So basically, if the useremail is found in the column AND the date in the next column of the same table is = todayโs date, the user sees the view.
Iโm going to look into Filter functionโฆthis might be better logic.
Ah. Got it.
IN(USEREMAIL(), SELECT(Charter Scheduling[Member Email], TODAY()=[Start Date]))
Thanks! Yours is alot more elegant than this:
ISNOTBLANK(FILTER(
โCharter Schedulingโ,
AND(
ISNOTBLANK([Schedule_ID]),
([Member Email] = USEREMAIL()),
([Start Date] = TODAY())
)
))
It works but Iโll try your solution! Thanks again!
User | Count |
---|---|
42 | |
29 | |
25 | |
23 | |
13 |