cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Discrepancies between query and dashboard results

yuvala
New Contributor II

Hey all,

I have encountered a strange issue while validating my dashboard visual against the source table.

The visual shows the count(distinct VAL) per day and when I ran a query that does the same calculation I get a difference of 84 (on average) and the query result is always larger than the dashboard's result, could this be some sort of rounding error? as the results are in ~80K per day.

The filed the count(distinct) is calculated over is an int type and I have refreshed the data via the refresh button prior to the validation. 

for example, here is the result from the query:

query active ads.png

while for the same date in the dashboard I got this number:

dashboard active ads.png

What could cause these discrepancies?

 

2 REPLIES 2

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @yuvala,

Are you using same query for the dashboard? could you please share it?

Hey @Alberto_Umana,

for the dashboard I use 

select * from bi_models.models.ve_daily_ads_agg

and then in the visualization y axis configuration I use the following this:

yuvala_0-1740401064625.png

 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now