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
Finalyst96
New Member

How to edit a premade item in a power query step?

I've inherited this power query and my predecessor has 'items' in the formula that are also created by a formula. When I hover over these items I can see the formula but I don't know how to edit the formula. (see screenshot below)

 

Is this possible? Also how are these created?

 

Finalyst96_0-1685381003905.png

 

1 ACCEPTED SOLUTION
collinsg
Super User
Super User

Good day Finalyst96,

The "items" you see are other queries. Let's say you make a query called DateToday which returns todays date.

let
Source = Date.From( DateTime.LocalNow() )
in
Source

Then you make another query called DatePlusSevenDays which references DateToday...

let
Source = Date.AddDays( DateToday, 7 )
in
Source

 When you hover over DateToday in this second query it will show the code of DateToday. You can see the queries in the Queries panel at the left hand side of the query editor.

 

collinsg_0-1685392828806.png

Hope this helps.

View solution in original post

1 REPLY 1
collinsg
Super User
Super User

Good day Finalyst96,

The "items" you see are other queries. Let's say you make a query called DateToday which returns todays date.

let
Source = Date.From( DateTime.LocalNow() )
in
Source

Then you make another query called DatePlusSevenDays which references DateToday...

let
Source = Date.AddDays( DateToday, 7 )
in
Source

 When you hover over DateToday in this second query it will show the code of DateToday. You can see the queries in the Queries panel at the left hand side of the query editor.

 

collinsg_0-1685392828806.png

Hope this helps.

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.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

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