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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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