0
How can I adjust this?
In the Home table, I selected the Alcohol option. The three charts below show the corresponding values. Starting from the second chart, I added the condition (choose=2). In the third chart, I added the condition (choose=2 or choose=1). However, this caused an error, and the chart values started to be displayed incorrectly. Thank you for your reply.
5 replies
-
If you put the following code in a new formula field:
let s := this; let y := for loop1 in numbers(xxx) do record('copy here',loop1).name end; let x := (select 'copy here' where (var n := name; count(y[= n]) > 0)); let z := (select 'copy here' where (var n := name; count(y[= n]) > 0) and number(choose) = 2); let w := (select 'copy here' where (var n := name; count(y[= n]) > 0) and number(choose) = 2 or number(choose) = 1); debugValueInfo(z) + " - " + debugValueInfo(x) + " - " + debugValueInfo(w)
You will see that you are getting the correct results from your filtering. "x" is your first code, "z" is when you set choose = 2, and "w" is when you have choose = 2 or choose = 1. You will see nid and if you go back to your copy here table you will see that the correct records are selected.
Content aside
- Status Answered
- 9 mths agoLast active
- 5Replies
- 50Views
-
2
Following