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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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