If I enabled Dataviewjs my dataview table stops working

What I’m trying to do

I am trying to run a dataview table query and dataviewjs progress bar on the same note. But if i enable the dataviewjs queries, it breaks(?) my dataview table for some reason. This is how It looks before I enabled Dataview JS queries.

The dataview table works fine.

I use the following version 0.5.68 of dataview in windows.

And these are my settings before I enable JS.

Now after I enabled the JS features so my progress bar functions.

It works, the progress bar works but my dataview table now returns nothing.

If I reinstall or disabled/abled again the plugin, I go back to the first image. Am I doing something wrong? It’s the queries I wrote? I am thinking about ditching the progress bar, but I am no longer abled to use DataviewJS is I still want the dataview tables?

Things I have tried

I have done searching, but i haven’t found someone with my particular issue. There are some cases where the dataview tables not working, but those are cases where they haven’t worked before and got them working. Not a case where they work, but if you enabled JS they stop working. And I have look at tutorials for beginners in dataview, but it doesn’t seem to be code related, so I don’t know what to do. Any help is greatly appreciated.

1 Like

I stumbled upon a not so recent bug report on Dataview’s GitHub repo which looks similar to the issue you’re currently facing: interference between dataview query (TABLE) and dataviewjs query in same file · Issue #2201 · blacksmithgu/obsidian-dataview · GitHub

You might want to check in the Dev Tools/console to see if there’s an error showing up there when you enable JS queries and the dataview table fails to render :woman_shrugging:

Sadly, if this is effectively a bug on Dataview’s side, the only thing that comes to my mind could be to try and convert the dataview table into a dataviewjs one ? :woman_shrugging:
(Maybe 2 dataviewjs queries in the same note won’t be as problematic ?)

1 Like

Thank you! And yes, it does read a lot like my problem. Since I haven’t found a solution after my post and until now, I have decided to leave them out for now and just focus on writing. But I appreciated you took the time to read my problem, search for something similar and answer my post, so thank you again.

1 Like