Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

SAVING DAX SOLUTIONS IN POWER BI

Hi all, 

I've been trying to save the solution to a DAX expression in power bi as that solution changes everytime the dataflow is updated but I found that might be impossible to do. I stumbled on the idea of using Power Automate to store the solution in an excel workbook, google sheets, or a sharepoint list (Still trying to see if this would work. If anyone knows how to do this feel free to address. Thanks).

 

Would it be possible to store the solutions somewhere in power bi (like a table or so) daily or even weekly while also keeping the previous solutions from the dax expression? If so, how would that be done? Would I need another dax to do so?

 

If my question isn't clear, I can elaborate better in the comments.

 

Thanks y'all! 

7 Replies

  • m_alireza's avatar
    m_alireza
    Icon for Solution Specialist rankSolution Specialist

    Hi Anonymous ,

    What do you mean by "solution"? Do you mean a DAX query? i.e. you wrote something in DAX but it doesnt work after your dataflow is updated?

    Can you give more info on what problem you are trying to solve? Why does the "solution" change everytime your dataflow is updated? What do you want to achieve?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Ok lets think about it this way; imagine in an office of about 500 people, various people open tickets for the IT department to solve issues. The data of the status of each request is recorded and now in Power BI we try to visualize this data and end up writing a dax to count the number of requests that are still open. But this number is suject to change everyday as the IT depatments either closes a couple in one day or recieve more another day. 

      So would there be a way to store that number from the previous day so we can track the change in number of open cases?

       

      Does that make more sense?

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    Whether the advice given by m_alireza  has solved your confusion, if the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.


    Looking forward to your feedback.


    Best Regards,
    Henry