Power BI - "Expression.Error: The column of the table wasn't found - powerbi

This error pops up randomly when I import data to Power BI using Supermetrics API about a day after when trying to refresh.
For example, using Adobe Analytics data, when I try to refresh my dashboard a day later, I sometimes get this error, saying
When I click on "Go to error" it takes me to Changed type step, but I see that the code remains the same as I first imported it.
Going to Navigation step, I see that the data has changed, but I don't know why, since I haven't changed anything since I pulled data to Power BI.
What it used to look like:
vs what it looks like now
I have tried seeking help from Microsoft community, but no use, since most topics suggest changes to the code, which I haven't done.

This is 100% an issue in import, and as this issue has only just come up now it is due to a change in source format.
Looking at the breakdown of your imported data, it seems as though you are accessing a web source? This makes me think that the html make-up of that webpage has changed.
Unfortunately, the easiest way of dealing with something like this, is to rebuild the query from the ground up. If you are still struggling, let me know and I will have a look into it further.

Possibly, the 'Date' column is not arriving from the data feed (Supermetrics API) during your refresh. When you come across this issue, read the data feed in other Power BI window or check in the source so that you can confirm, the 'Date' column is missing during a particular point in time.
Thanks.

For me, I found that when my data source changed in terms of column header name, this error was thrown. You probably already sorted it out by now, but any future readers, I would double check the source to make sure no changes were made that might affect this, and then if the source is unchanged in it's version history, then rebuild the inquiry again. It sucks if this is due to a PBI issue, but these two methods should solve 99% of the instances of this error.

Related

A cyclic reference was encountered during evaluation in Power BI

When I press refresh button in Power BI (version 2.112.1161.0) I have this error
message
! Table1
A cyclic reference was encountered during evaluation.
! Table2
Loading blocked by failures with other queries.
I always solve it by going to another tab (sheet) and press refresh button and everything's fine. The refresh completes.
Is this error serious? How could I fix it or debug it?
You can go through some definitions for "Cyclic/Circular Reference". You probably created 2 logical columns that are dependent on each other. As for column A, you are using the value from column B. And same for column B, you are using the output of column A. It's a deadlock.
The seriousness depends on your use of data from those columns as they will never give you output. If they are a must for your report, this is serious :) and you have to fix this.
This is a long-standing bug that you can safely ignore. There must be some race condition bug that occasionally causes the PQ engine to fail but as you say, it goes away on its own.
For others reading, this is different to the circular references errors you sometimes get in the vertipaq engine caused by model ambiguity caused by relationships, multiple calculated columns or genuine logical errors and is to do with the PQ engine.
You are not giving us a whole lot to go by. If I read your problem correctly, the initial refresh is the issue, subsequent ones work.
From my perspective, there are two possible issues here:
The software version you are using is buggy, as others have suggested. See also this link, which suggests you could uninstall/reinstall the desktop client you are using. However, just like in the case that post author describes, it seems to present itself as a mere annoyance, nothing that seems worrisome, provided that the results you get are accurate otherwise.
Alternatively, it could be a true circular reference that somehow gets resolved in between, but I doubt that. Here is another link describing circular references in detail.
If this were me, I'd try the uninstall/reinstall and see if that indeed fixes it. Otherwise, I'd probably ignore it.
Try refreshing the data for Table 1 first then refresh all the tables that should resolve the issue.

Power Bi Desktop Error Message: Each original name must belong to the set of all names

I have a query that imports two sheets from an xlsx file, combines the data, unpivots it, and does other cleanup steps. For the resulting fact table I also defined relations to 3 further dim tables.
Then I decided to refactor the query in the PowerQuery editor, including splitting the query up into 3 steps and disabling load of the the first two. (To play it safe I also stored my pbix w/o applying the steps.)
But then after a Close & Apply I got the following cryptic error message:
Something went wrong.
Each original name must belong to the set of all names.
PBIDesktop version is 2.96.701.0 64-bit (August 2021)
Searching the web I found people suggesting that the error might be related to specific PBIDesktop versions and that moving back to a previous version would solve the issue.
For me it was easier than that, though a bit mysterious:
In PowerQuery I enabled load for all sub-queries,
let it apply all my steps and the error message was gone.
Then back in PowerQuery I could disable load for the sub-queries w/o triggering the error again!
I hope that this might help someone somewhen.

Incremental refresh in Power BI

When I watch my query it shows "View native query" is enabled:
But when I try to add incremental loading it still gives me a warning:
Should I just ignore it? Every single guide I've watched and read always tell that if you can open "View native query" it means it can be folded and incremental refresh will work.
You can check whether query folding is actually happens when you refresh the report. Depending on the data source you have you can use couple of methods described here: https://youtu.be/QEFze-LdLqo.
If you use Google BigQuery (possible in other databases as well) you should also be able to see queries that were actually performed in your database.
If you have proper query folding you shouldn't have any problem with using incremental refresh. View Native Query can even be disabled, but query folding might still happen under the hood. So it always better to check what's the query in your database in any case, just to be sure.

Export single column from DynamoDB to csv (or the like)

My DynamoDB table is quite large and I don't particularly want to dump the whole thing. There is one column that I want to test on, so I would like a dump of all of its values that I could have locally to code/test with. However I am not finding anything that lets me do this.
I found RazorSQL and it semi worked (in the sense that it let me pull down just one column of information from the table but it clearly didn't pull down all the data).
I also found a Data Pipeline Template on AWS but from what I can tell this will dump the entire table. I am relatively new to AWS so it's possible I'm not understanding something about pipelines properly.
I'm okay with writing to S3 because I can pull down all the data from there, but anything that gets to my local machine is fine by me
Thanks for the help!
UPDATE: This tutorial looks promising but I want to achieve this effect in a non-interactive method

data is generated in database even if we perform preview data option in spoon

can some one suggest me best idea to overcome this situation. Iam using kettle 4.1.0 community version, here when i want to preview the data in spoon for the transformation table output, then when i click on preview data option, the data is being generated in database directly even if we are not performing Run transformation option.. how can i overcome this problem..
regards
kiran kumar.g
Thats just how it works. Perhaps the name "preview" is badly named.
Couple of ways around it. Preview the step before the table output, and disable the hop so no data goes to table output. If the table output step is collecting several inputs, then put a "dummy" step and make that do the collecting, and then preview that.
or change your db to use a local db (via properties or jndi or even a different connection on the step) then you wont care if the db is generated.