Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
yakstar
Regular Visitor

Subtotal to sum first month's data only

Hi,

I'm new to the forum buit have been an avid user in the past 8 months learning M and Dax very quickly thanks to all the information provided in the forum. I've now hit a roadblock and hoping for some ideas how to progress.

 

Background:

I've time series data for available stock which projects what my stock is going to be at the start of every week for every SKU (product).

 

Objective:

I'm trying to build a pivot table to display for each SKU what my stock will be over the next 52 weeks (easy part). So my Hierarchy is SKU and then Week number. The subtotal on the top level (SKU) however, needs to display the available stock in the current week (first line of each SKU) as opposed to the sum of the next 52 weeks.

 

If required I can attach the sample data, but in reality there will be much deeper levels of drill down, and I'm just trying to understand the concepts and formulas used at this point. Thanks in advance.

Alex

1 REPLY 1
Anonymous
Not applicable

@yakstar,

Please share sample data of your table and post expected result following the guide in the thread below.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

Regards,
Lydia

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.