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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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()))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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