Skip to main content
Azeglio Martinelli が「#Analytics」で質問

I have this query:

 

q = load "Controlling";

q = group q by ('DataDummy.Date_Year', 'DataDummy.Date_Month');

q = foreach q generate q.'DataDummy.Date_Year' as 'DataDummy.Date_Year', q.'DataDummy.Date_Month' as 'DataDummy.Date_Month', sum(q.'DayAmount_Order') as 'B';

q = order q by ('DataDummy.Date_Year' asc, 'DataDummy.Date_Month' asc);

q = limit q 2000;

 

How to handle optional lines in Line chart when adding binding?

 

When I add this filter binding it destroy the line chart by putting the Date_Month into the optional lines, which I do not want:

 

q = filter q by 'DataDummy.Date_Year' in ["{{cell(static_2.selection, 0, "Jahr").asString()}}"];

Resulting in:

How_the_result_is_after_adding_filter_in_query.png

 

How can I make it that the Date(Month) stays within the y-axis? Please see pictures attached.

 

 

#Analytics

1 件の回答
  1. 2024年7月7日 15:19

    Hi Azeglio,

     

    when you add the binding filter, run the query and return to the chart view. you can modify the type of chart and let it become your initial chart on the right panel of the query.

     

    Hi Azeglio, when you add the binding filter, run the query and return to the chart view. you can modify the type of chart and let it become your initial chart on the right panel of the query.let me know if it works! :D