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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sshelton
New Member

calculate a year to date total filtered by location

I have multiple locations with weekly sales and need to calculate a year to date running total for each by location.  I've tried Total YTD but it only gives me the locations sales for that week.

 

TOTALYTD(sum('Table 1'[Net Sales TY]),('Table 1'[Week End])

1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee

@sshelton

 

What is the data like in your case? The Measure looks good and I can get running total with it in my test. If it doesn't work in your case, have you tried to use a calendar table?

View solution in original post

3 REPLIES 3
sshelton
New Member

Thank you - I did relook at it, and it is working when calculated using it as a Measure vs. a Column. 

Eric_Zhang
Employee
Employee

@sshelton

 

What is the data like in your case? The Measure looks good and I can get running total with it in my test. If it doesn't work in your case, have you tried to use a calendar table?

Baskar
Resident Rockstar
Resident Rockstar

HI sshelton ,

 

This topic already discussed many time in the community.

please refer the below link

1. http://community.powerbi.com/t5/forums/searchpage/tab/message?filter=location&location=forum-board%3...

 

Let me know if its not solve your prob, then share your data and expected  reult , i will assit you.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.