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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
zanemj
Regular Visitor

Comparing the same measure against itself with different filters

Hello all, I am having trouble figuring out how to compare the same measure against itself while being altered by different filters. 

 

For example, I am creating a dashboard to compare the emissions of a specific site location (on the left) against the average of many site locations (on the right). The averages on the right can be filtered by a slicer that can be filtering by Region, Business Unit, and Facility Type. So there are 3 filtering criteria that can be selected. The left is only examining one facility at a time, the Facility Names. In the example below, the site on the left has been selected and the right side is the average for all Manufacturing sites, but could theorectically be honed down to Manufacturing, Business Unit B, Region: America, etc. 

 

InkedPOWERBI comparison 4 question marked.jpg

 

I want to add a measure that calculates the percent difference between the site selected and the average on the right side. So if we were looking at Electricity Usage, I want a little logo that shows the site on the left is 17% greater than that of the average for all manufacturing sites. This is the same measure however, just the one on either side is being altered by different slicers. The measure is FilteredElectricity[ElecUsageAvg] and I want to be able to compare it to itself based on what the slicers currently have selected. I attached a table with some data just to help visualize what I'm working with, any help here would be greatly appreciated!

 

 

Facility NamesRegionBusiness UnitFacility TypeElec Usage
DetroitAmericaUnit AFactory1,000,000
New YorkAmericaUnit BFactory2,000,000
GlasgowEuropeUnit AOffice30,000
FrankfurtEuropeUnit AOffice50,000
3 REPLIES 3
lbendlin
Super User
Super User

you cannot measure a measure.  You will have to create a separate measure that implements the comparison logic from scratch.

How do I implement the comparison logic in side a new measure that accounts for the changing slicers?

Measures operate within the filter context - which automatically includes the slicer choices. So you get that part "for free".

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors