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
UsePowerBI
Post Prodigy
Post Prodigy

How to use the timestamp and output of one query as parameters for another query?

Hello

 

I have a query which resolves to a single piece of text.

I want to:

1) use that piece of text as a parameter in the code of another second query without having to run the first query again

2) use the timestamp of when I run the first query as a parameter in the second query without having to run the first query again of course

3) if a specific amount of time has passed since running the first query, I want to rerun the first query again when I attempt to run the second query 

 

Any idea how to achieve these?

Thanks!

1 REPLY 1
lbendlin
Super User
Super User

That sounds like something you want to do in Power Automate, not in Power Query.

 

your 2) requires that you record that timestamp and return it together with the text.

your 3) is far outside of the design envelope of Power Query, even considering Function.InvokeAfter()

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Top Solution Authors
Top Kudoed Authors