MySQL - Query works on Editor but not on Dashboard

Hey everybody,

I’m having a problem with my query… I’m able to retrieve the right results while using the Query Editor. But once I saved and try to run on the Dashboard it self I get a “No Data Points” message… I’m using the $__timeFilter macro as instructed on Grafana’s documentation

Here is my query:

SELECT
__timeGroup(BILLING_REPORT.lineItem_UsageStartDate, '24h') as time_sec, BILLING_REPORT.lineItem_Cost as value, BILLING_REPORT.product_ProductName as metric FROM BILLING_REPORT WHERE __timeFilter(BILLING_REPORT.lineItem_UsageStartDate) and BILLING_REPORT.Razao_social in([[ID_Executive]])
ORDER BY BILLING_REPORT.product_ProductName ASC

I’m attaching my query editor screen…

Any help is REALLLY welcome…

By the way I’m using Grafana 5.3v