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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
wesleygeddes
Regular Visitor

Filter Data Based On Matrix Values

I have a dataset that looks like the following: 

Projected Utilization: 

EmployeeIDWorkStatusDateFTE%
55Firm4/1/22.50
55Table 14/1/22.50
55Table 24/1/22.25
55Table 34/1/22.1
55Firm5/1/22.75
55Table 15/1/22.10
55Table 35/1/22.1

 

Assigned Utilization

EmployeeIDAssigned FTE
551
60.75

 

You can filter based on WorkStatus (whether that work is available like Firm, or Potentially available like Table 1/2/3). I also am using a calculated measure to determine how far over/under an employee is allocated based on their projected FTE vs their Assigned FTE. 

So, if I wanted to look at WorkStatus Firm, and Table 1, my Matrix table would look like the following:  

EmployeeID4/1/225/1/22
550.00-0.15

 

If I wanted to include Firm, Table 1/2/3 I would see: 

EmployeeID4/1/225/1/22
550.35-0.05

 

I need to be able to filter employees who are over/under allocated. 

In this example, Employee 55 would show up when we select "Under Allocated" (in both instances of our Matrix). Employee 55 would only show up in the second example when I selected "Over Allocated." 

 

I can create a calculated measure that determines whether an employee, on a specific month, is over/under allocated. But I can't figure out how I would filter an employee using a Slicer. 

 

It's my understanding that we can't use a filter in a slicer, except I did find a Youtube video that walks me through a work-around, but it didn't solve my problem. The over/under allocated value was getting aggregated at the employee level, not employee/date level. So if the SUM of your projected FTE over the two months was greater than your assigned FTE then you would be classified as "Over." Same thing for "Under." 

 

Any thoughts/help would be greatly appreciated!

 

Update: I made a mistake on the "Assigned Utilization" table. There used to be a 55 - Table B row which has since been removed. 

2 REPLIES 2
Anonymous
Not applicable

Hi @wesleygeddes ,

 

Why there would be a value like "table3" in the Assigned Utilization [Assigned FTE]?

Are you want something like this?

Measure = IF(sum('Projected Utilization'[FTE%])<SUM('Assigned Utilization'[Assigned FTE]),"Under","Over")

vjaywmsft_0-1649407578837.png

 

Best Regards,

Jay

I have a measure that is almost identical to this one and it does work when I place that measure inside of the matrix. But if I wanted to filter the matrix to only show me people who are "Under" or "Over" (meaning in one of the months being displayed, they are "under") then I am unable too. 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.