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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Gopal_PV
Helper III
Helper III

My Between Slicer is Not filtering table values on its selection

Hi Friends,

Net Amount.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Gopal_PV ,

 

Can I ask you if the Net Amount in your table is calculated by dax, similar to the following.

_sum_price =

CALCULATE(SUM('Product'[Dealer Price])),FILTER(ALL('Product'),'Product'[Class] = MAX('Product'[Class]))))

The ALL function is used in this formula, which returns all values in all rows or columns of the table, ignoring any filters that may have been applied. This function can be used to clear filters and perform calculations on all rows in the table. Using the slicer at this point will not have any effect on the data in the table.

vkaiyuemsft_0-1713332080793.png

 

vkaiyuemsft_1-1713332080794.png

 

If you want to make the slicer work, you can use the ALLEXCEPT function to remove all contextual filters from the table except for those that have been applied to the specified column.

_sum_price_1 =

CALCULATE(SUM('Product'[Dealer Price]),FILTER(ALLEXCEPT('Product','Product'[Dealer Price]),'Product'[Class] = MAX('Product'[Class]))))

vkaiyuemsft_2-1713332111570.png

 

More information can be found at the link: ALLEXCEPT function (DAX) - DAX | Microsoft Learn

Row Context and Filter Context in DAX - SQLBI

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

1 REPLY 1
Anonymous
Not applicable

Hi @Gopal_PV ,

 

Can I ask you if the Net Amount in your table is calculated by dax, similar to the following.

_sum_price =

CALCULATE(SUM('Product'[Dealer Price])),FILTER(ALL('Product'),'Product'[Class] = MAX('Product'[Class]))))

The ALL function is used in this formula, which returns all values in all rows or columns of the table, ignoring any filters that may have been applied. This function can be used to clear filters and perform calculations on all rows in the table. Using the slicer at this point will not have any effect on the data in the table.

vkaiyuemsft_0-1713332080793.png

 

vkaiyuemsft_1-1713332080794.png

 

If you want to make the slicer work, you can use the ALLEXCEPT function to remove all contextual filters from the table except for those that have been applied to the specified column.

_sum_price_1 =

CALCULATE(SUM('Product'[Dealer Price]),FILTER(ALLEXCEPT('Product','Product'[Dealer Price]),'Product'[Class] = MAX('Product'[Class]))))

vkaiyuemsft_2-1713332111570.png

 

More information can be found at the link: ALLEXCEPT function (DAX) - DAX | Microsoft Learn

Row Context and Filter Context in DAX - SQLBI

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

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.