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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jesly_ajin
Helper III
Helper III

calculate sum in a measure ignoring the slicer date filter

Dears,

I have a column with rownumber for each group. I need to calculate sum in a measure ignoring the slicer date filter, but need the

sum of all rows with rownumber as 1 for a particular project.

Currently, my sum is getting filtered with the date filter as my page has a slicer for date filter:-

CALCULATE(SUM(SelfService_Plan_DailyPlanQuantity[AllowableHoursEQ]),Filter(ALL(SelfService_Plan_DailyPlanQuantity),SelfService_Plan_DailyPlanQuantity[RowCount]=1))

Kindly help.

 

.date filter.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Try this

 

Calculate(sum(table[hour]),allexcept(table,table[Project]),filter(table,table[rownum]=1)

 

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

 

View solution in original post

2 REPLIES 2
tkirilov
Resolver I
Resolver I

Anonymous
Not applicable

Try this

 

Calculate(sum(table[hour]),allexcept(table,table[Project]),filter(table,table[rownum]=1)

 

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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