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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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