Forum Discussion
Use Field Data as Operator
- 3 years ago
Hi hatcher78
But I have another idea how you can to it:
Measure = SWITCH( SELECTEDVALUE([FieldB]), ">", IF([FieldA]>[FieldC],1,0), "<", IF([FieldA]<[FieldC],1,0), ">=", IF([FieldA]>=[FieldC],1,0), "<=", IF([FieldA]<=[FieldC],1,0) )Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
Hi hatcher78
I really have never seen this anytime in any report so I would say it is not possible to transform a text field into an operator.
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
- Mikelytics3 years agoResident Rockstar
Hi hatcher78
But I have another idea how you can to it:
Measure = SWITCH( SELECTEDVALUE([FieldB]), ">", IF([FieldA]>[FieldC],1,0), "<", IF([FieldA]<[FieldC],1,0), ">=", IF([FieldA]>=[FieldC],1,0), "<=", IF([FieldA]<=[FieldC],1,0) )Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.