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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
danielboi
Helper I
Helper I

Measure does not overcome filter to compute % of Sales

Hello community,


I am having issues to make one measure work. This measure is to be used to show Profit and Loss items, where I define the filter context through visual filter. 

In order to not have a specific sets of measures per P&L items there is a set of generic measures, which visual filters are applied on. The filter is on dim.table[P&L item].

 

The measures calculating the actual, budget and difference between those two work fine. It also calculates the filtered values in % of sales AS LONG AS I do NOT make a drill down using dim.table[P&L item].  If I use any other attribute I get to see the sales despite the visual filtering out the sales.

danielboi_2-1647003383726.png

 

But if want to drill down according to dim.table[P&L item] sales does not get to passed on.

danielboi_0-1647003209766.png

The measure used is:

CALCULATE(
[Sales Bud],
ALL(Report_Item[P&L Item])

Data model consists out of one fact table and several dimension tables for calendar, PL items, locations, Org Hierarchy. All linked to the fact table.
Any hints how to make the formula work to pass down sales for computation?
 
Cheers
D
1 ACCEPTED SOLUTION
danielboi
Helper I
Helper I

Managed to solve the mystery by myself.

 

The formula used:

CALCULATE(
[Sales Bud],
ALL(Report_Item[P&L Item])
 
Should not show a column, but only the complete table.
 
CALCULATE(
[Sales Bud],
ALL(Report_Item)

View solution in original post

1 REPLY 1
danielboi
Helper I
Helper I

Managed to solve the mystery by myself.

 

The formula used:

CALCULATE(
[Sales Bud],
ALL(Report_Item[P&L Item])
 
Should not show a column, but only the complete table.
 
CALCULATE(
[Sales Bud],
ALL(Report_Item)

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.