Relative Content

Tag Archive for powerbivega-litedeneb

Bind sort to parameter , add input sorting option

I would like to know if it is possible to to bind a sort order and sort field to a parameter.
Id like to allow users to select from the option lists which field and what sorting order they would like to sort the visual.
for example, I have a bar chart that show CY and PY value, so the users can sort CY Descending by using the option.

Vega-lite assigning parameter to axis labels

In Vega-lite it is possible to assign a parameter to the legend (see example video here). Is it also possible to assign parameters to the axis labels? I know this is possible in Vega with signals from a previous question.