
XLOOKUP SQL Tabs
Demo of Xlookups working between raw SQL tabs, query tabs, and now cross-model ("foreign") tabs, including how the switch-model tool resolves the right model automatically and current…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Okay, I had everything ready, and then I had probably seven tabs open, and everything " fell" and I was logged out everywhere. So I'll try to save it. Um, let's try to get back to where I was. Okay, that was really bad. OK. Uh-huh , so hurry up. It's kind of like an ad, and when I was preparing it for the demo, I realized that what people really need isn't working here.
So the fix will come later, but I'm just showing that it's now possible to use Xlookup between SQL tabs. So , this is a tab with raw SQL. This didn't work before. This is an Xlookup from the raw SQL tab to the regular query tab. This works, and from the query tab back to that tab with raw SQL—it also works.
But what people really need, I'm sure , is SQL tab to SQL tab. And I was so focused on making those two interact that that one didn't really work. But I think it's much easier to fix. So I'll fix that. Ahem. Uh, then I'll just show you that thing with the foreign tabs that I showed a few weeks ago.
It still exists. We are still working on it. Here is a dashboard with a couple of foreign tabs on it. They are now called cross-model tabs. Jared made some nice UX improvements. Um, and if I do I can edit the panel, but it just takes time. Um, wait, no, not by country. Confuse it . Uh-huh. she, you'll see, she'll do this thing where she, uh, like she knows : "Okay, I'm on this typical model of mine, I'm on this panel, this is not the model."
So she uses the model switching tool that Gustav created to find, um, find the model, find it in the query; it all works. So, it is able to work on foreign cross- model tabs, I need to update my terminology, and one more thing, just to show: yes, this graph is broken. It has a field that is n't there.
Let's move here. Ahem. Oh, it says branch there. This is cool. Some kind of, I think, this should give me while you're doing it. I, I was talking about this with a couple of clients, uh, recently. Um, regarding the federated query part, maybe it's a limitation, like the question about limits in XLOOKUP, but practically, is there a limit here in terms of data volume or number of rows?
How scalable will federated queries be if I use XLOOKUP from one database or one model connection to another? It's just going to be an XLOOKUP, so what we'll display in the interface—the 50,000 row limit—they're not in effect yet. Um, but the technology is already ready. Over the past few weeks. Everything came together. This is what the SQL thing I just demonstrated is built on.
Yes, TJ is building something, I don't remember if he demonstrated it yet. Well, something like that. A lot of things are being put together, which allows you to get multiple results and then combine them in the database for XLOOKUP. Hmm, great. And also to show that there's still a lot of work to be done on this, but yes, I can be on the branch right now.
This works on my simple model. Oh, and then I can also go in and get into a branch, like a draft here, and it's all a little bit artificial. Um, but yeah, for some reason this draft isn't in the branch. It doesn't matter. The interface will change, so I don't need to show it. What? Oh, yes. Here, please .
This was just to show off this great interface. Um, I'm... okay. But, uh, and lastly, um, let's move on to the branch in the models where I actually want to be. So, this is me here. Well, just to show that, um, this is again one of those slightly questionable decisions. Will it work? Or not? But just proof that we can do it.