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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Anonymous
Not applicable

## 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" ||
Customer[Education]= "Graduate Degree")

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

2 ACCEPTED SOLUTIONS
Microsoft Employee

Hi @Anonymous,

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"
|| Customer[Education] = "Graduate Degree"
)
)
```

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.
Microsoft Employee

Hi @Anonymous,

Could you please mark the proper answers as solutions?

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.
3 REPLIES 3
Microsoft Employee

Hi @Anonymous,

Could you please mark the proper answers as solutions?

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.
Microsoft Employee

Hi @Anonymous,

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"
|| Customer[Education] = "Graduate Degree"
)
)
```

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.
Super User

Hi,

Share the link from where i can download your PBI file.

Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

## Helpful resources

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Join our Community Sticker Challenge

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

#### Power BI Monthly Update - July 2024

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

#### Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors