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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
LyncoData1
Helper I
Helper I

Net Sales Start from Yesterday

Hello, I am trying to calculate Sales but I do not want to pull sales from current day. I want to start pulling all sales from prior day on back. I do not know how to manipulate NetSales meaure to do so and I also do not want to use slicer. Any help would be appriciated!

 

Net Sales = SUM(FactNetSales[Amount])
 
1 ACCEPTED SOLUTION

@LyncoData1 ,

 

You may modify the measure like pattern below:

Net Sales =
CALCULATE (
    SUM ( 'FactNetSales'[Amount] ),
    FILTER ( 'FactNetSales', 'FactNetSales'[Year] < TODAY () )
)

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@LyncoData1 ,

 

Could you please share some sample data and clarify more details about your requirement?

 

Regards,

Jimmy Tao

I would like my Net Sales to start calculating from yesterday. From the 26th not the 27th. I am not sure what function to use in order to make this happen. I want to exclude current date going forward so my data wil auto populate to correct sales value.

 

 

 

Net.PNG

@LyncoData1 ,

 

You may modify the measure like pattern below:

Net Sales =
CALCULATE (
    SUM ( 'FactNetSales'[Amount] ),
    FILTER ( 'FactNetSales', 'FactNetSales'[Year] < TODAY () )
)

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors