Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

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

  • Anonymous ,

    a measure like

     

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.