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

Announcements

News and Announcements icon
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
YTD Automatic Cal...

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

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard