Token Comma Expected in Power Query Advanced Editor Error Message - powerbi

Would anyone please review the following code to see why I keep getting a "Token Comma Expected" error message in Power BI Advanced Editor M Code:

Make sure let is lowercase (let and not Let).

Related

Maybe someone get this Dataflow BigQuery name value error?

Creating new job from template in Dataflow and than it comes to writing BigQuery table dataset ID I get this error:
Error: value must be of the form ".+:.+..+"
Try to google it, but didn't find anything, maybe it some new rule, because before I create the same way, but never get this error.
Maybe someone know what does it mean?
As proposed by #kiranMathew in the above comment, you have to propose the table with following convention :
project:dataset.table
The error message indicates this and you can't add special characters like + .

Dynamic query (Current date) via web services in Power Bi

In my project we are consuming the company's data via Web Service REST. Today we don't do the query dynamically by passing the start date and end date parameters via string.
enter image description here
My goal is for the end date to update dynamically. I've already created a query that takes the current date but I can't put it in the parameter without generating an error in the query.
enter image description here
This is the error message I get when I put the column value in the parameter:
enter image description here
I'm pretty sure I'm getting the syntax wrong. Anyone who can help me, I really appreciate it. I would like to point out that the date format for the API call to work is DD/MM/YYYY.
Can you try using
PutYourOtherTableNameHere[Hoje_Coluna]{0}
instead of
[Hoje_Coluna]
?
To see if that will work, put this in right before your query, then click on the step and see what it returns.
x = PutYourOtherTableNameHere[Hoje_Coluna]{0},

PowerBI subscription error : there is no data for the field at position x

We have run a PowerBI subscription to generate visualisations report in PDF format we have get many errors like this
There is no data for the field at position x
The problem is we searched many times about it we found that it may occurred due to missing data in dataset.
But we have about 30 datasets with a query to oracle database we cannot figure out which is the missing data and the log does not mention which report causes the error.
Is there a way to figure out which field is missing?
Or is there a way to enrich the reports error log to give us which report failed?
A sample of exact error is repeated with different positions :
processing!ReportServer_0-8!1e18!02/07/2022-09:56:36:: e
ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 29.;
Dears
I found a solution help me. I will share it.
The error is due to missing data, not missing values, which means the column name defined in the data set field has been changed in the database.
note:
When make the value equals null it will not give the same error; even if it is used in the report it will give a different error.
about how to detect ?
Simply install report builder in machine has connection to this database and open this report with report builder and make verify fields, it will give detailed error with the name of dataset fields not found so we tracked it in database we found it has been changed so fix it in either dataset or column name in database it fix the issue.
New challenge we are going to handle it either column name exist or changed to e, never get error and give empty report better as there is some database the report will connect may not have the same column names so it should give empty part of report instead of error.
thanks BR,

Power BI filtering URL query Parameters

I am trying to filter the Power BI reports using the URL query filters.The field name I am trying to filter has space so I am passing in the parameter like
?filter=DW_Project/Project_x0020_Manager_x0020_Name eq 'Max Hex'
But the reports are being filtered
I am getting the error like
Can anyone please tell what I am missing here.
The encoding looks correct. Indeed the space is escaped with _x0020_ as per the documentation. Check the name of the table and the field and make sure they are the same. Note that these names are case sensitive. You will get this error if they do not match. Since you posted only images, I can't check, but DW__Project looks like containing not one, but two underscores, while it is only one in your URL.

How to suppress "Error in PLSQL code raised during plug-in"

I am using some plugins in APEX5.0 and need to know how can we suppress the plugin errors which are raised by default when a wrong input in entered.
I have date picker items on my apex page, when entering the date e.g. when a wrong date format is entered then an exception "Error in PLSQL code raised during plug-in" pops up. Even when I use my own "user defined" validation code to validate date , when enter the wrong date format , the error "Error in PLSQL code raised during plug-in" appears always and I need to press Ok for more than 10 times to clear this error from the page.
Could you please suggest the way to suppress this error?