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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DairyG1
Helper I
Helper I

Excel file where comments are linked

Hello All,

 

Hope you may be able to advise.

I have a customer order excel file which updates daily.

 

I am trying to add comments/updates to order lines and store them.

I need the file to bring in the latest orders whilst keeping the previous comments from past days/weeks.

 

I have followed the below blog on self referencing tables, but cannot get it to work. I am not sure if the there has been chnages in power query.

Self Referencing Tables in Power Query - Excelerator BI

 

Thank you for your time.

 

 

1 ACCEPTED SOLUTION

Hi @DairyG1 ,

 

I agree with what @mahoneypat suggested,you could create another table which saves your comments.

I made a simple example as below:

Suppose your Customer order table is like below:

vkellymsft_0-1632299789674.png

 

Then create a Comments table as below where you add your comments:

vkellymsft_1-1632299832503.png

Then import the 2 tables to power bi,in power query merge the two tables by ID:

vkellymsft_2-1632299870650.png

Then you will get a result as below:

vkellymsft_3-1632299900460.png

When you add new comments in Comments table,click Refresh button,you will get an updated result.

vkellymsft_4-1632299942999.png

Check my sample attached.

 

Best Regards,
Kelly

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

View solution in original post

6 REPLIES 6
DairyG1
Helper I
Helper I

Can anyone advise on a solution for this problem?

Would like to stick with excel as that is the source but open to how to make it manageable in SP list.

Thank you.

mahoneypat
Employee
Employee

Rather than doing what is described in that article, I would encourage you to create a separate Excel sheet (or SharePoint list, etc.) to store your comments along with a key column that you can use to merge into your table that is refreshing.  That way you comments are never lost, and you can update them as needed.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


@mahoneypat  ) thank you for responding Pat.

I did try a separate table and merged based on common field and selected all rows from each table but it doesnt store the comments when refreshed.

Steps i took

  • I have the source excel file that gets updated daily (connection)
  • I created a version of the above with a comments field added
  • Then i merged based on common column and outout as a table
  • Add comments to the merged table output but when refreshing to pull in latest orders the comments disappear.

I though this would be a common task for people but seem to be little information on how to achieve.

 

Thank you.

 

 

 

 

Hi @DairyG1 ,

 

I agree with what @mahoneypat suggested,you could create another table which saves your comments.

I made a simple example as below:

Suppose your Customer order table is like below:

vkellymsft_0-1632299789674.png

 

Then create a Comments table as below where you add your comments:

vkellymsft_1-1632299832503.png

Then import the 2 tables to power bi,in power query merge the two tables by ID:

vkellymsft_2-1632299870650.png

Then you will get a result as below:

vkellymsft_3-1632299900460.png

When you add new comments in Comments table,click Refresh button,you will get an updated result.

vkellymsft_4-1632299942999.png

Check my sample attached.

 

Best Regards,
Kelly

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

@v-kelly-msft  - Kelly thanks so much for doing that example.

I have done all that but it didnt work.

can you please try sorting the data and see if the comments stay with line it was added to?

Can i also ask are you adding the comments to the merged table?

 

Thank you for the support

 

Hi  @DairyG1 ,

 

Yes when I sort the column ID descending,the comments stay with the lines which was added to:

vkellymsft_0-1632384950077.png

vkellymsft_1-1632384985537.png

The comments are associated with IDs,so no matter whether you are sort the column or not,they will also change accordingly.

 

 

Best Regards,
Kelly

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors