Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Cumulative formula for multiple columns

The company that I work for has a requirement for Control Charts and Pareto charts for each of the metrics that we report on. Our current process is to manually create each measures which is extensive. What I would like to do is to use something like Bravo, if not Bravo, to create the code within JSON files that would pre-create the measures. For some context we are looking to move over 80 metrics from Excel to Power BI and I am not looking forward to creating all of these measure by hand. Any suggestions would be appreciated.

  • HI Anonymous ,

     

    Have you tried using the DAX query view? You should be able to write multiple measures into the model at once by using DEFINE and MEASURE keywords, the table the measures are to be saved to, the names and the formula.

     

  • danextian's avatar
    danextian
    1 year ago

    Late reply but that is DAX Query view native  in Power BI Desktop.

10 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you. I will take a look at Tabular Editor and let you know

  • HI Anonymous ,

     

    Have you tried using the DAX query view? You should be able to write multiple measures into the model at once by using DEFINE and MEASURE keywords, the table the measures are to be saved to, the names and the formula.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      I will look at DAX Studio and see if I can sort it out. I'll let you know what I find out.

      • danextian's avatar
        danextian
        Icon for Super User rankSuper User

        Late reply but that is DAX Query view native  in Power BI Desktop.

  • Hello,

     

    If you can move away from creating all of the measures manually for the Pareto charts, you can use visual "Pareto+" to create a graph, table and legend, or you can use "Pareto by sio2Graphs" to produce the graph, no need for measures.

     

    sio2Graphs ğŸ˜€

    sio2graphs on AppSource 

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      I appreciate the thought but my company isn't keen on using third part visuals unless absolutely necessary. Their concern, warranted or not, is that if we build our eco-system on third party visual and then they (the develolpers of the visual) stop supporting it, want to move to a pay to play model or anything else that can disrupt our process, can cause us to miss contractually required reporting.

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    Your solution is so great AlexisOlson and danextian 

    Hi, Anonymous 

    Thank you so much for raising your questions in the community! If Super's reply solves your question, you can mark it as a "solution" so that other friends who are experiencing similar problems can also find the answer. This will go a long way in helping others in the community. Thank you again for participating!

     

    Best Regards

    Jianpeng Li