web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Automatic Custom Colum...
Power Apps
Unanswered

Automatic Custom Columns with YTD Calculation

(1) ShareShare
ReportReport
Posted on by 4
Hi,
I am enclosing an Excel file with a Table from a Power Query instance I am working on.
The Table shows figures of following fields combinations:
  • CATEGORY (Frames, Lenses)
  • SUPPLIER (Supplier 1, Supplier 2)
  • CLASS (A, B)
  • AGGREGATE (Sell-Out, Sell-In)
  • MONTHS (from January to June)
The Table derives from a Query and the database is supposed to be updated each month.
What I am trying to achieve, but I am unable to, is to create a custom column with the YTD calculation for each single month.
In this example, being the months 6 (From Jan to Jun) there should be 6 additional columns as follows:
  • YTD January (equals to January naturally)
  • YTD February
  • YTD March
  • ... and so on
calculating YTD for each combination Category/Supplier/Class/Aggregate
 
and naturally once the query is refreshed after updating the database, columns shall upgrade too considering the number of months inside the database.
 
Can you please help me?
 
Thank you
 
Mark
Categories:
YTD Automatic Cal...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,369 Super User 2025 Season 2 on at
    Hi
     
    Your picture isn't working, please add the details related to the calculations, Excel Table, examples etc.
     
    Showing up is way better than trying to explain. Looks like you might have tried, not sure why the Attachment isn't working.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard