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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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