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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.