Forum Discussion

ActiveCapybara's avatar
ActiveCapybara
New Member
3 months ago
Solved

how to append calculated values to current time series

Hi, I'd like to ask how to append calculated values to current time series data. Here is my current table: Month Total Group A Group B Jan 125 65 60 Feb 120 75 45 Mar 150 80 ...
  • suparnababu8's avatar
    3 months ago

    Hello ActiveCapybara 

     

    We can achieve it by using DAX. As per your requiremnet, the below is your expected results

     

    Pls download .pbix file and is that you expected one, pls share your thoughts.

     

    Thank you!!

     

    Did I answer your question? Mark my post as a solution!

    Proud to be a Super User!

  • Fenil_Italiya's avatar
    3 months ago

     Hello, ActiveCapybara  

    You can Follow this steps to Achieve Whatever You want in the Power query editor,

    1. Pivoted the Group column to transform the group values into separate columns.
    2. Added a Total column to calculate the sum across all pivoted group columns for each row.
    3. Appended the transformed query to the existing query to consolidate the results into a single dataset.

      Please Find the attached PBIX file for Implementation of these steps.


      Current_Series_Solution.pbix