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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Automated calculation for two different sharepoint folder paths

I have two different tables from a sharepoint folder. One table contains the sales data and the other one contains the costs. I want to create a column in the sales data table which calulates the win for every month. When the new sales and costs data for the next months are added to the sharepoint folders, PBI should add automatically a new column to the new sales data file with the calculated win. Is this possible and if so, how do I realize this Idea?

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

Yes,if the 2 tables are in the same sharepoint folder,you could connect it with power bi using sharepoint folder connector,then do the combine and transfrom to combine the data loaded in,also you could create a new column using calculations.Once your data is updated,click refresh,PBI will automatically updates the data with calculations.

Check the reference below:

https://docs.microsoft.com/en-us/power-query/connectors/sharepointfolder

 

Best Regards,
Kelly

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

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

Yes,if the 2 tables are in the same sharepoint folder,you could connect it with power bi using sharepoint folder connector,then do the combine and transfrom to combine the data loaded in,also you could create a new column using calculations.Once your data is updated,click refresh,PBI will automatically updates the data with calculations.

Check the reference below:

https://docs.microsoft.com/en-us/power-query/connectors/sharepointfolder

 

Best Regards,
Kelly

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

KNP
Super User
Super User

Can you please provide some sample data and expected outcome?

It will be easier to answer your question if we have some data to work with.

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors