cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Variation_31415
Regular Visitor

Change in Query name

Hello!

 

I am currently working on a report where I have created a few pages with several measures. All of these measures are linked to different Queries. Now my question is the following:

 

Assuming I have to change the name of a Query because the Excel Sheet name has changed, do I have to manually adjust all measures on my own or is there any function which I can use to automatically perform this change?

 

Example: Current Query name is "2023Test" with measure:

 

Test = SUM('2023Test' [Sales])

 

Now the excel sheet name changes from "2023Test" to "2023Final"

 

Do I have to adjust all measures referring to '2023Test' manually to '2023Final'?

 

Thanks in advance and best regards!

1 ACCEPTED SOLUTION

@Variation_31415 ,

In the applied steps on the right side, got to navigation step then expand the formula after selecting navigation. Next replace "2023Test" with"2023Final" in the formula bar and then click apply.

Arul_0-1676971965727.png

Thanks,

Arul

 





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

Proud to be a Super User!




View solution in original post

4 REPLIES 4
Arul
Super User
Super User

@Variation_31415 ,

In this case you do not need to do anything, all the measures will be updated automatically with new query/table name.

Thanks,

Arul





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

Proud to be a Super User!




Dear Arul,

 

thank you very much. However, I have tried this (opened excel, changed name, saved it and refreshed the data). I do get the following error in the Powe Query Editor:

 

Expression.Error: The key didn't match any rows in the table.
Details:
Key=
Item=2023Test
Kind=Sheet
Table=[Table]

@Variation_31415 ,

In the applied steps on the right side, got to navigation step then expand the formula after selecting navigation. Next replace "2023Test" with"2023Final" in the formula bar and then click apply.

Arul_0-1676971965727.png

Thanks,

Arul

 





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

Proud to be a Super User!




Thanks a lot! That solved the issue and helped! 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors