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
Jos1986
Frequent Visitor

Measure Doesn't Work with Filter

I have a measure coded like this:

Sales Amount = CALCULATE(Sales[All Sales], Sales[Sales Type] <> "Open Orderline", Sales[Sales Type] <> "Open RMA Orderline" )
 
It's summing up a sales dollar column, while ensuring to exclude two sales types that are open sales. The measure works as expected through almost all filters. Example: I can filter by account, rep, region, etc. However, when filtering by sales type, the measure gives sales totals that don't match the underlying data. It's so off, I can't make any sense of how it's going wrong.
 
Does anyone know how to remedy this? I'm fairly new to the backend of Power BI. Is it not possible to filter for data that is already being filtered on a measure?
1 REPLY 1
Anonymous
Not applicable

You don't necessarily need to use measures to filter out sales types. Use the filter pane, it is more straightforward and won't interfere with additional filtering.

Helpful resources

Announcements
Europe Fabric Conference

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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