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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ngd_99
Frequent Visitor

"The name 'x' is already used for a column on table 'y'. Choose a different name"

Since I got February 2024 update for Power Bi Desktop (v2.126.927.0), I keep getting this message with ALL calculated columns in ALL tables, where it says the column x is already used in table y. I have checked and can confirm that calculated column with name x ONLY exists one time (not duplicated) ONLY in table y (so it makes no sense to point that out as an issue by Power BI). It happens with all calculated columns in all my files, which before the update did not cause any problem.

Picture1.png

Any idea hoy to solve this issue or what may be causing it?

 

 

17 REPLIES 17
Martin05
Regular Visitor

Update 10/02/2024: Glitch described here: Calculated Table with Calculated Columns; Glitch w... - Microsoft Fabric Community

 

Same issue here. There seems to be still no solution. As long as I don't need to change anything in the table my PowerBI file runs fine. But as soon as I click into the columns of the suspect table the mess starts. Here my case: I read an excel file with 2 tables into my PowerBI file. I am creating 3 additional tables within the PowerBI, whereas 1 of them (Table "Date") always crashes, once I start clicking into the different columns of that table. In that PowerBI table "Date" I have 1 column where I am consolidating 2 date columns of both Excel tables with the following formula:

 

 

Date = Distinct(Union(SELECTCOLUMNS('Table1',"Date",'Table1'[Date of Check]),SELECTCOLUMNS('Table2',"Date",'Table2'[Date of Check])))

 

 

I created a couple of other columns within the table "Date" that will give year, month, quarter, calenderweek, etc. As soon as I am clicking on one of these columns it will give me the error message saying that "month" already exists (which is not true). Once I am clicking back into column "Date of Check" it will rename my PowerBI table, overwrite above formula with the name and formula of the last column clicked. I tried this with several tables, made sure there is no duplicate column names etc. I also deleted the cache. It is always the same issue. February release seems to be buggy for that topic. Would be nice if somebody starts looking into it. 

alepp
Regular Visitor

Same issue here, and in my case I want to append queries based on the column name so there's not much I can fix. Other columns append nicely without any error messages, such as id columns and such, but I have one set of information that causes the error. Any tips?

jcp_ti_user10
Frequent Visitor

I have the some error after created more than one calculated column on the same table witch has data from another table as a result of a LOOKUPVALUE function. 
Is this your case?
If I delete these columns the error disappear. This behavier only exists on recent updates.

Hi - Yes, i have the same issue. Even if you remove the column, it continues until you delete all the calculated column. Some time the table name becomes the column name too.

abhishekrws01
Helper I
Helper I

I am having the same issue after Feb-2024 version. Seems like this is an issue

 

bklosowski
Frequent Visitor

Same bug here. I think it's related to one of the PReview features, I guess Visual Calculations. 

 

I've switched most Preview Features off and apparently the bug doesn't occur anymore. 

EDIT: I was wrong. The bug keeps happening even after deactivating the preview functions. 

Interesting, did not seem to work for me though.

Nevermind, I was wrong. 

I thought it was related to the preview functions but it's not. It kept happening even after I had most of them deactivated. 

I'll edit my previous reply. 

Jaime_Castillo
New Member

Same problem here! 100% sure there aren't duplicated names, but the message still appears for calculated columns. I'm with February 2024 version.

KaanY
Frequent Visitor

We're also getting this since this February 2024 update. It is highly infuriating and distracting, and so difficult to ignore.
Have tried simplyfying column names, but nothing seems to get rid of the error.

ngd_99
Frequent Visitor

I have found no solution so far that works for February 2024 update. However, I downgraded to previously available release (November 2023 when I did - now you have December 2023 available) and the error stopped appearing. You can find these versions here:

Previous monthly updates to Power BI Desktop and the Power BI service - Power BI | Microsoft Learn

I know it is not an optimal solution but it worked for me. I will remain in this previous version until this gets fixed or someone knows exactly why it may be happening.

alex20274
Frequent Visitor

Agree with above, Im now just ignoring.

alex20274
Frequent Visitor

Im having the exact same problem, clearing cache has not resovled the issue, as a test I have opened prior reports and the issue now appears with any calculated column which didnt at the time when created. Therefore assume its to do with the lastest update. 

v-yilong-msft
Community Support
Community Support

Hi @ngd_99 ,

Based on your problems, here are my answers.

Please check for hidden columns, sometimes hidden columns or columns in other tables can cause conflicts, make sure there are no hidden columns with the same name in other tables. To check for hidden columns, go to the “Model” view in Power BI Desktop and expand all tables to verify if any other columns share the same name.

vyilongmsft_0-1708565999092.png

Clear the Power BI Desktop cache by going to “File” > “Options and settings” > “Options” > “Data Load” > “Clear Cache.” Restart Power BI Desktop to see if the issue persists.

vyilongmsft_1-1708566204052.png

 

 

Best Regards

Yilong Zhou

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

Doesn't work.

Clearing the cache doesn't help.
I've seen other odd things like to unhide a page you have to click "Hide" again.
When I see little things like this is feels like a release that wasn't fully tested.

Anonymous
Not applicable

Sorry - clearing cache does not help.

I am able to make changes to the calcualted column (which save and reflect in Report View), but after after moving to another column, the pop-up appears.

It can be ignored but it's quite annoying.

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors