1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
To achieve this usecase, you can use 3 calculated fields in your visual:
height
ifelse(${type}='human',{human_avg_height},
${type}='chimpanzee',{chimpanzee_avg_height},
${type}='orangutan',{orangutan_avg_height},
NULL)
weight
ifelse(${type}='human',{human_avg_weight},
${type}='chimpanzee',{chimpanzee_avg_weight},
${type}='orangutan',{orangutan_avg_weight},
NULL)
lifespan
ifelse(${type}='human',{human_avg_lifespan},
${type}='chimpanzee',{chimpanzee_avg_lifespan},
${type}='orangutan',{orangutan_avg_lifespan},
NULL)
In the visual, you can use these fields - height, weight, lifespan that would change depending on the type parameter.
Please try the above and let me know if it helps. Thank you!
답변함 2년 전