cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

same query execution but results in new date column

I want to run the same query again everyday and store the results in current date. Query does not take any inputs. Eg if today the query runs, the value it received should be stored against 21-Apr, tomorrow the values received against 22-Apr and so on.

How can I achieve this.

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

At present, I am afraid that there is no function you mentioned. Power BI is a tool for cleaning and modeling data and creating reports. It will not update or modify the underlying data unless the data is updated in the data source.

You can use the TODAY function to locate each day, but you cannot keep the result.

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous ,

a measure like

 

calculate([measure], filter(Table, Table[Date] =today()))



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors