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! Request now

Reply
Edgar_massa
Helper II
Helper II

Calculate total of a parameter

Good afternoon everyone

I have a parameter in my report containing "Daily", "Start of the Week" and "Monthly", and in my table, for example, I filtered "start of Week", and I want to calculate based on this selected parameter, how much was the total shipping for those week start dates minus 7 days, 1 week ago.

The logic would be like this: CALCULATE(Total Shipping, Parameter[StartWeek] = Parameter[StartWeek] - 7)

 

Edgar_massa_0-1662133136762.png

 

1 ACCEPTED SOLUTION

I achieved

 

Edgar_massa_1-1662473722947.png

 

Edgar_massa_2-1662473785994.png

 

Very thanks

 

 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Edgar_massa , Not very clear. I know you want to create a measure based on the selection slicer, what is needed is not clear

 

refer if this can help

https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-3...

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Man, I need a calculate that adds the total freight, but in the filters, I want it to bring the date of 7 days ago that is there in the table that is the [Parameter] of the tracking that I filtered

I achieved

 

Edgar_massa_1-1662473722947.png

 

Edgar_massa_2-1662473785994.png

 

Very thanks

 

 

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.