cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Enan
Helper I
Helper I

Difference Between Calculate & Filter DAX

Hi Experts,

 
Need your guidance to understand the behaviour of Filter & Calculate.
I have used below DAX measures to calcualte total Transactions based where quantity =6 and for Jan97.
However when i use the slicer and slect quantity less than 06 it gives blank value for PINK text box (Filter DAX used) but when i nothing changes in Blue Text Box (Calcualte use).
 
Can you please guide me how it is working.
Below images and DAX are for your inforamtion:
 
No Slicer SelectedNo Slicer SelectedNo Slicer SelectedSlicer Value SelectedSlicer Value SelectedSlicer Value Selected
Total Transaction Jan97 & Qty equals 6 using Filter = CALCULATE(COUNTROWS(
    FILTER(Transactions_Data_Fact,Transactions_Data_Fact[quantity]=6 &&
     Transactions_Data_Fact[year]=1997 &&
     Transactions_Data_Fact[Month] =1)))
 
Total Transaction Jan97 & Qty equals 6 using Calculate = CALCULATE(COUNTROWS(Transactions_Data_Fact),
Transactions_Data_Fact[quantity]=6,
Transactions_Data_Fact[year]=1997,
Transactions_Data_Fact[Month]=1)
1 ACCEPTED SOLUTION
Arul
Super User
Super User

@Enan ,

Please go throught this video to get clear understanding.

https://www.youtube.com/watch?v=ewjRItLlgG8

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Arul
Super User
Super User

@Enan ,

Please go throught this video to get clear understanding.

https://www.youtube.com/watch?v=ewjRItLlgG8

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors