Hello again everyone!
I wrote this in my column [TeethID2] valid_if
IF(IN([ProcedureID2], LIST ("Prcty3", "Prcty4" , "Prcty5" , "Prcty6")),
(Dental Chart[TeethID]) - LIST([TeethID]), [TeethID])
But it says like this:
The purpose of this is that if they selected "Prcty3", "Prcty4" , "Prcty5" , "Prcty6" in my [ProcedureID] (Enum), they can't choose the selected [teethID](Enumlist) inside [teethID2](Enumlist). I already did this one with my [ProcedureID2], and this is the formula:
โAnd this is the result:
[ProcedureID] ->
I selected Filling = "Prcty3" in my ProcedureID and it disappears in my ProcedureID2
[ProcedureID2] ->โ
So I want this also with my [TeethID] and [TeethID2]
if I selected this in my teethID with [ProcedureID] (Enum) = "Prcty3", "Prcty4" , "Prcty5" , "Prcty6"
โI want this two to be removed in my [TeethID2]
Solved! Go to Solution.
Oh got it. You have used [ProcedureID2] in the expression but your description all along mentions [ProcedureID]. Not sure what does [ProcdureID2] is for?
So you maywant to test with [ProcdureID] instead of [ProcedureID2]
IF(IN([ProcedureID], LIST ("Prcty3", "Prcty4" , "Prcty5" , "Prcty6")),
Dental Chart[TeethID] - [TeethID], Dental Chart[TeethID]
)
How about simply valid_if of
Dental Chart[TeethID] - [TeethID]
Yes, I did that, and it worked, but I only want to apply it if I selected this in my [ProcedureID] (Enum) ("Prcty3", "Prcty4", "Prcty5", "Prcty6") like the previous one you help me with.
Oh okay. Please try
IF(IN([ProcedureID2], LIST ("Prcty3", "Prcty4" , "Prcty5" , "Prcty6")),
(Dental Chart[TeethID] - [TeethID]), [TeethID]
)
I tried it, but nothing happened.๐
Should it be this?
IF(IN([ProcedureID2], LIST ("Prcty3", "Prcty4" , "Prcty5" , "Prcty6")),
Dental Chart[TeethID] - [TeethID], Dental Chart[TeethID]
)
Same result, nothing happened ๐
Could you post the the screenshot of relevant columns types from the two tables?
Also do you wish to have the values in [TeethID2] to be populated from Dental Chart table?
Edit: Added the word types in description in the first sentence as highlighted. Please post the table view with columns types.
Dental Chart table
โDental Chart table in sheet
โVisitation record table (Where I have my [TeethID] & [TeethID2])
โMy [TeethID] & [TeethID2] already ref in my Dental Chart table and it has suggested value = Dental Chart[TeethID].
Oh got it. You have used [ProcedureID2] in the expression but your description all along mentions [ProcedureID]. Not sure what does [ProcdureID2] is for?
So you maywant to test with [ProcdureID] instead of [ProcedureID2]
IF(IN([ProcedureID], LIST ("Prcty3", "Prcty4" , "Prcty5" , "Prcty6")),
Dental Chart[TeethID] - [TeethID], Dental Chart[TeethID]
)
It worked! Thank you so much for always helping me! ur amazing!
User | Count |
---|---|
37 | |
30 | |
29 | |
22 | |
18 |