Forum Discussion
Data Upload
Hi,
I've created calculating columns in "Results" that refer to the data.
When I import new data out of an Excel sheet, I receive a second field "Results (2)":
But the calculating colums are in "Results":
so that the calculating columns refer to the new data?
Hi Anonymous ,
Just point the source path for your existing RESULTS table to the new file:
File --> Options & Settings --> Data Source Settings
Thanks,
Pragati
- Anonymous6 years ago
Hi Anonymous
Pragati11's reply is useful. I have a test by two Excel data.
Excel 1:
Excel 2:
Firstly get data from Excel1 and build a calculated column.
Column = AVERAGEX(FILTER(Sheet1,Sheet1[Name]=EARLIER(Sheet1[Name])),Sheet1[Quantity])Result:
Change the Data Source like Pragati11 replied before.
Select ok , and click Apply changes. Result is as below:
If you didn't delete the path of Source1, the result may go wrong.
If this reply still couldn't help you solve your problem, please show me more details about your issue screenshot, your data source path.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
10 Replies
- Pragati11Super User
Hi Anonymous ,
The reason why your new data file is named as RESULTS(2) is because there is an existing table name in your dtaa model RESULTS.
You can easily modify names of your tables. Right click on table --> Rename
Regarding the calculated column, whenever you areate a calculated column in a table, it resides in the same table. In your case they will be in RESULTS table. (as they were created there)
Don't get confused with RESULTS and RESULTS(2). They are different tables.
Thanks,
Pragati
- lkalawskiResident Rockstar
Hi Anonymous,
No, the calculated columns will stay in Results and refer to table Results.
Do I understand correctly that you want to import new data from Excel into the same table? Do you want a separate table?
_______________
If I helped, please accept the solution and give kudos! 😀- AnonymousNot applicable
Yes, I'd like to overwright the data of the old table so that the calculating colums can result new output with the new data.
- Pragati11Super User
Hi Anonymous ,
Just point the source path for your existing RESULTS table to the new file:
File --> Options & Settings --> Data Source Settings
Thanks,
Pragati
- AnonymousNot applicable
Unfortunately, the forum bugs and my sentence is chopped up into pieces....
My question was: How can I overwright the data in "Results" so that the calculating colums refer to the new imported data and that a new field ("Results (2)") won't be created? - AnonymousNot applicable
Hi Anonymous
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your data model and your problem or share me with your pbix file from your Onedrive for Business.
Best Regards,
Rico Zhou