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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!


LinkedIn


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!


LinkedIn


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!


LinkedIn


Thanks a lot! That solved the issue and helped! 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors