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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Skumaran
Regular Visitor

How to remove the filter from a measure

Hi,

 

I am trying to analyse a data set, below is the sample data

Skumaran_0-1660753804899.png

 

is it possible to get the count of a particular item ( slicer) and the total count of all the items for the order #?

 

What I am trying is to do is to add "Item" as slicer and I need to get the Count of selected item and the Total count of all the items in an Order #

 

for example if I add "Wire" in the slider the table should display the Count of selected Item as "1" and I need a measure to display the total count as "5" for the Order # as below

Skumaran_1-1660753829087.png

 

How do I create a measure to exclude the filter and show the Total count of all the items of an Order #

 

Kindly help to resolve this,

 

Regards,

Shyam.

 

2 ACCEPTED SOLUTIONS
PaulDBrown
Community Champion
Community Champion

Try:

Total count of items = CALCULATE (COUNT(Table[Item]), ALL(Table[Item]))





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

Hi @Skumaran

 

You didn't close your Count() function correctly.

CALCULATE(COUNT(Sheet3[Item]),ALL(Sheet3[Item]))

 

Hope it helps!

 

Kind regards,

OD

View solution in original post

4 REPLIES 4
Skumaran
Regular Visitor

Hi, It works!!

 

Thank you very much!!

PaulDBrown
Community Champion
Community Champion

Try:

Total count of items = CALCULATE (COUNT(Table[Item]), ALL(Table[Item]))





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi Paul, 

 

Thank you for your response,

 

I tried as you suggested but it returned with an error,

 

Skumaran_0-1660757353152.png

 

Hi @Skumaran

 

You didn't close your Count() function correctly.

CALCULATE(COUNT(Sheet3[Item]),ALL(Sheet3[Item]))

 

Hope it helps!

 

Kind regards,

OD

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors