## Desktop

Member
Posts: 106
Registered: ‎12-27-2016

# Calculate Filter Ignoring in Table visual

Hi Guys,

My current measure =

USOnlineLevel1 = CALCULATE(
Sales[Sales Amount],
Sales[SalesStore] = "Contoso North America Online Store",
Customer[Education] = "Bachelors" ||

As you can see here below on the column USOnlineLevel1 that customer 671  there are unnecessary values of 889.00 (for High School, Graduate Degree, Partial College and Partial High School). Based on this measure i expect only one value of 889.00 in the Bachelor.

How can i avoid ignore the filtered values? I only want to return the value of Contoso North America Online Store and Education = Bachelors and Graduate Degree...

Many Thanks

Accepted Solutions
Highlighted
Community Support Team
Posts: 7,674
Registered: ‎05-02-2017

## Re: Calculate Filter Ignoring in Table visual

Hi @regasanyoto,

If you write a formula like that, the context of Customer[Education] is overridden. So all the rows have values now. Please try a formula like below.

```USOnlineLevel1 =
CALCULATE (
Sales[Sales Amount],
Sales[SalesStore] = "Contoso North America Online Store",
FILTER (
Customer,
Customer[Education] = "Bachelors"
)
)
```

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support Team
Posts: 7,674
Registered: ‎05-02-2017

## Re: Calculate Filter Ignoring in Table visual

Hi @regasanyoto,

Best Regards,

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

All Replies
Super User
Posts: 3,943
Registered: ‎01-14-2017

## Re: Calculate Filter Ignoring in Table visual

Hi,

Highlighted
Community Support Team
Posts: 7,674
Registered: ‎05-02-2017

## Re: Calculate Filter Ignoring in Table visual

Hi @regasanyoto,

If you write a formula like that, the context of Customer[Education] is overridden. So all the rows have values now. Please try a formula like below.

```USOnlineLevel1 =
CALCULATE (
Sales[Sales Amount],
Sales[SalesStore] = "Contoso North America Online Store",
FILTER (
Customer,
Customer[Education] = "Bachelors"
)
)
```

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support Team
Posts: 7,674
Registered: ‎05-02-2017

Hi @regasanyoto,