mahedi0244

Results comments of mahedi0244

I created a view in the SQL database but I cannot access it and it doesn't show up in caravel. Any kind of help would be appreciated.

I am having the same problem. Would you mind elaborating how you fixed the issue? @birdspring

@birdspring Thanks for the help. I was able to load the example dashboard properly. Now I loaded a new database and it is giving me the same error like before:...

@birdspring I made sure the table name is exactly what it is in the database. However, when I click "save" this error message occurs: "Table [users] doesn't seem to exist,...

@birdspring yes, when i click the sql link, all the tables are shown. i tried "caravel db upgrade" but that didnot help.

@mistercrunch I just figured out that, I am actually able to load some tables from my database, but the error occurs for the tables where there is at least one...

@xrmx this is the part that I had to change and it seems like working https://github.com/mahedi0244/caravel/commit/7743cb2001ed6fde3b47778b0702f16ed14d1989

@xrmx DAYOFWEEK(created_at) —>returns 1 for Sunday, 2 for Monday and so on. DATE_SUB(created_at, INTERVAL DAYOFWEEK(created_at) - 1 DAY) —> will subtract days in such a way so it returns the...

@xrmx “WEEKDAY(created_at) DAY” will also work