cube-js/cube

Use input values in calculated measures

Open

#1,865 建立於 2021年1月24日

在 GitHub 查看
 (3 留言) (0 反應) (1 負責人)Rust (19,563 star) (1,965 fork)batch import
backend:serverhelp wanted

描述

Is your feature request related to a problem? Please describe. I would like to use one or more user inputs in calculated measures. This will allow me to implement what-if scenarios. For example, if I have insurance liability data and evaluate liability by various dimensions based on the probability of an event occurring (e.g. earthquake), users may input a probability in percentage and measures should recalculated using this value in real-time.

Describe the solution you'd like

  1. Ability to pass custom parameters in query
  2. Availability of these parameters in server side so that they can be referenced in measure formula

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

貢獻者指南