Hello,
I have an issue, when I created my query, with an Order By, and my vizualization, everything was in the right order.
Then, when I put it in my dashboard the order changed. As you can see with the pictures, when I clik on "edit visualization", everything seems in order, but in the dashboard, it's not.
Here is the code for the query :
SELECT
*,
concat(directory_name, '_', directory_id) as directory,
energy_kwh_imputed - energy_kwh as diff_projection_kwh,
energy_kwh_m2_imputed - energy_kwh_m2 as diff_projection_kwh_m2
FROM
datalab.benchmark.rich_kpi_scope as scope
INNER JOIN datalab.benchmark.rich_kpi_consumption as rk_cons USING (directory_id, utilities)
ORDER BY rk_cons.energy_kwh_m2_imputed DESC
Thanks,
Laure