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
Anonymous
Not applicable

column with REMOVEFILTER doesn't give correct sub-total in a matrix

The problem is when I apply the filter I don't get the Complete Sub-Total, I want the sub-total of all the 8 values.

test order num = IF(WC_DOMAIN_MEMBER_LANG_D_STATUS_CODE[Order Status] IN {"Open","Quotation","Appointment","Vehicle Arrived","Maintenance Started","Maintenance Completed","Delivery Completed","Pending Approval"},CALCULATE(COUNT(Fact_W_SRVREQ_F_Service[SR_NUM]),REMOVEFILTERS(Dim_W_DAY_D_Settlement_Date[Settlement Date])),COUNT(Fact_W_SRVREQ_F_Service[SR_NUM]))                                             

gulammoin8_0-1632996075396.png                                     

without date filter

gulammoin8_1-1632996119838.png

The problem is when I apply the filter I don't get the Complete Sub-Total, I want the sub-total of all the 8 values.

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , I think, it should be a measure like this

 

test order num = IF(max(WC_DOMAIN_MEMBER_LANG_D_STATUS_CODE[Order Status]) IN {"Open","Quotation","Appointment","Vehicle Arrived","Maintenance Started","Maintenance Completed","Delivery Completed","Pending Approval"},CALCULATE(COUNT(Fact_W_SRVREQ_F_Service[SR_NUM]),REMOVEFILTERS(Dim_W_DAY_D_Settlement_Date[Settlement Date])),COUNT(Fact_W_SRVREQ_F_Service[SR_NUM]))

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
Anonymous
Not applicable

Not working porperly.

 

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.