- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Transforming Cumulative data files
Hello guys,
I need help in transforming the data based on the example I attached. I am receiving monthly data, but these data contain cumulative values for the period (no data column per month). As you see in the attached picture I have two files one is the January - August file and the second one is the January - September file. So if I need to calculate the values of any KPIs for the company "z" I need to use the correct file (the latest data - Jan-Sept) and subtract the values from the same company from the previous file (Jan - August) and to assign that value as a September data (9/2023) in the new column to have a correct data type (who will be in relationship with my Calendar dimension table). So, for Octobar data, I will receive the Octobar file (from January to October) and the same process of subtracting the value of the previous file in this case Jan - Sept file. Do you know how I can transform that in Power Query or using some DAX measure?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi,
There has to be a Date column in each table. Creae that and share data in a format that can be pasted in an MS Excel file.
Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

This is just an example of how my data are structured. I do not have permission to change anything on the source but I can make changes in the PBI Query Editor. I already created a date table but still, these are cumulative values. I created some DAX measures but still, this is not the solution I expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

A date column will have to somehow be created for the subtraction to happen. Share data (with actual column headers) in a format that can be pasted in an MS Excel file.
Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi,
There has to be a Date column in each table. Creae that and share data in a format that can be pasted in an MS Excel file.
Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
06-28-2024 05:00 AM | |||
12-14-2023 03:45 AM | |||
01-03-2024 04:48 PM | |||
05-02-2024 06:12 AM | |||
10-05-2023 11:43 AM |
User | Count |
---|---|
121 | |
104 | |
85 | |
52 | |
46 |