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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Filtered rows

Hey everyone, 

 

I have a Project tbl and a Productivity tbl. There are connected based on ProjectID, with a 1-* relationship from Project to Productivity. Furthermore, I have a Employee tbl, which is connected with the Producitivity tbl on EmployeeID. An Employee can have several one or more projects, so the the relationship is 1-*.

 

 I have a matrix table with Employee, Project and Project category. I have informtion about the startdate of projects, but not for its category. Therefore, I want to show nothing, hence blanks, for these rows. The measure is as follows: 

Startdate (filter) =
SWITCH(
    TRUE(),
     ISFILTERED('Productivity tbl'[Project taak]), BLANK(),
     ISFILTERED('Project tbl'[Startdatum]), BLANK(),
     CALCULATE(
        MIN('Project tbl'[Startdatum])
       )
)
 
Unfortunately, it returns also rows with dates for Projects the employee didn't work on. It is just the startdate of the project (another employee was signed on to). 
How can these rows be filterd, so that a more clean overview is presented (in this case, only the project Cadamusque for Albert?).
The names (and projects) are fictional.
 
  Filter for Project.png 

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Anonymous -can you check the below measure to displays blank for rows where the project category does not have a start date

Startdate (filter) =
VAR IsFilteredByProject = ISFILTERED('Productivity tbl'[Project taak])
VAR IsFilteredByStartDate = ISFILTERED('Project tbl'[Startdatum])

RETURN
SWITCH(
TRUE(),
IsFilteredByProject, BLANK(),
IsFilteredByStartDate, BLANK(),
CALCULATE(
MIN('Project tbl'[Startdatum]),
'Productivity tbl',
'Employee tbl'
)
)

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@rajendraongole1 , perfect! Exactly I was looking for 🙂

rajendraongole1
Super User
Super User

Hi @Anonymous -can you check the below measure to displays blank for rows where the project category does not have a start date

Startdate (filter) =
VAR IsFilteredByProject = ISFILTERED('Productivity tbl'[Project taak])
VAR IsFilteredByStartDate = ISFILTERED('Project tbl'[Startdatum])

RETURN
SWITCH(
TRUE(),
IsFilteredByProject, BLANK(),
IsFilteredByStartDate, BLANK(),
CALCULATE(
MIN('Project tbl'[Startdatum]),
'Productivity tbl',
'Employee tbl'
)
)

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors