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 August 31st. Request your voucher.

Reply
san17680
Helper II
Helper II

all on facts table vs without all output

hello team,

i am just wondering why these two produce different results

fact sales filter all = CALCULATE(COUNTROWS('Calendar'),ALL(Sales_data)): output 1461 rows
 
fact sales filter = CALCULATE(COUNTROWS('Calendar'),Sales_data) : output 1081 rows
 
1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @san17680 ,

 

The "All" function remove all filters applied on table, so if there's any applied filters it won't take it into consideration, so the difference is that there might be a filter in the report that's filtering the second measure.

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

Hello @san17680 ,

 

The "All" function remove all filters applied on table, so if there's any applied filters it won't take it into consideration, so the difference is that there might be a filter in the report that's filtering the second measure.

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.