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

Slicer not working with Measure

I am currenty working on a dashboard  where I want to use a slicer to show differing rowcounts of various tables depending on the date selected. I havean accounting table with a  row_count measure which shows the total row count regardless of the date period selected by the slicer.  The measure has the following formula:

 

sauce1979_1-1723648577324.png

 

I have a date table which which has a 1 to many relationship to the accounting table. Other measure which i have on the canvas are respondoing to the slicer as shown below.

 

sauce1979_2-1723648729442.png  

sauce1979_3-1723648932104.png

 

I am not sure where I could be going wrong. any ideas. Thanks in Advance

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

I've noticed that your measure uses the ALL function, which ignores all filters, including slicers.

If you want to ignore filters that are unexpected in addition to the slicer, use ALLSELECTED function .

The ALLSELECTED function gets the context that represents all rows and columns in the query, while keeping explicit filters and contexts other than row and column filters.

ALL function (DAX) - DAX | Microsoft Learn

ALLSELECTED function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Stephen 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

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

I've noticed that your measure uses the ALL function, which ignores all filters, including slicers.

If you want to ignore filters that are unexpected in addition to the slicer, use ALLSELECTED function .

The ALLSELECTED function gets the context that represents all rows and columns in the query, while keeping explicit filters and contexts other than row and column filters.

ALL function (DAX) - DAX | Microsoft Learn

ALLSELECTED function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Stephen Tao

 

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

 

Anonymous
Not applicable

@Anonymous  That did the trick. thank you

Anonymous
Not applicable

hi @Sourav_M , my apoligies. it is indeed the Accounting Row Count

Sourav_M
Frequent Visitor

Hi @Anonymous,

Not sure which measure you are referring here, which is not impacted by the date slicer. Is it the "Accounting Row Count" measure?

 

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.

Top Solution Authors