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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
shihwenwu
Frequent Visitor

Dax Calculate without filter parameter

Hi all,

 

I created a calculate table hoping to make calculations based on buyer emails.

 

I got what I want using Calculate function with putting any filter parameter.

 

I check the result again by creating measure and they are all correct.

 

But what confusing me is that how does it work?

 

How does dax know that the result should be filter by buyer email when Calculate is applied?

 

Data RelationData RelationUsing Calculate without filter got the correct resultUsing Calculate without filter got the correct resultWrong result without CalculateWrong result without CalculateCompared with measure(left table) and Calculate Tabel(right table)Compared with measure(left table) and Calculate Tabel(right table)

 

Thanks in advance.

 

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @shihwenwu,

 

Maybe you could refer to this blog for detailed description about CALCULATE() function.

The Calculate Function in Power BI

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @shihwenwu,

 

Maybe you could refer to this blog for detailed description about CALCULATE() function.

The Calculate Function in Power BI

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Yuliana, I'll take a look of it Smiley Happy

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!