Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
PBIUWO
Helper III
Helper III

Dynamic columns and refresh errors

Hi all,

 

I have a report where I have rolling Month/Year on the Columns.

So I went to advanced editor and changed from column text names, to column positions to run the report.

 

There is no error on the Desktop side when I refresh it. However, on the Web it gives me an error every first day of the month because it is trying to find the column text name, rather than the position.

The error is, could not find "The 'Sales QtyMonth/Year' column does not exist in the rowset. 

 

Is there a way to fix this? 

1 ACCEPTED SOLUTION

This is not the same error. 

 

I am using an Excel file that has column names that change because it is a rolling 12 months. 

May 2019 would be removed next month, and replaced with June 2019, and errors out.

 

I went on the advanced query, and made it so it doesn't look at the column names, but rather the positions of the columns. 

It works on the Desktop refresh, just not the web version. 

View solution in original post

4 REPLIES 4
v-yingjl
Community Support
Community Support

Hi @PBIUWO ,

 

You can refer to below link which has similar issue:

  1. The 'HasUniqueRoleAssignments' column does not exist in the rowset. 
  2. The column does not exist in the rowset 

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

This is not the same error. 

 

I am using an Excel file that has column names that change because it is a rolling 12 months. 

May 2019 would be removed next month, and replaced with June 2019, and errors out.

 

I went on the advanced query, and made it so it doesn't look at the column names, but rather the positions of the columns. 

It works on the Desktop refresh, just not the web version. 

GilbertQ
Super User
Super User

HI there

If you make changes in Power Query and it works well in the desktop, make sure to upload the desktop PBIX into the Power BI Service.

Does this only happen on the first day of the month?

If so you might need to alter your code to get it working when it is the first day of the month.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

no, looks like the error is created on the first of the month and it gives me an error everyday until I refresh it on the Desktop, and publish it. 

 

This probably repeats every month.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.