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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Filter only some columns of Data

Hello I am trying to create a report to track Employee's absent time across business areas. I have a table that looks like this;

 

Empl./Appl.NameDate    NumberOrg. UnitBusiness Area
Alan2020-12-21850541520Training
Alan2020-12-22850541520Training
Alan2020-12-23850541520Training
Francis2021-07-120,2350644332IT
Francis2021-10-13850644332IT
Jenn2021-02-19810013520HR
Jenn2021-04-194,710013520HR
Jenn2021-07-20850716112Quality

 

I would like to inset a Filter for Business Area, but in a way that will not filter total absent time for the Employee. For example If I have the Filter selected for Quality, I would See Jenn's total absent time as 20.7 instead of 8. (and I know I would Also see Jenn when I filter for HR). I have tried some things with Edit Interactions on visualizations but haven't had any luck so far. 

 

I have linked a Sample File 

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 
Create a calculated column as follows:

Absent Hours = CALCULATE(SUM('Table'[ Number]),
FILTER('Table', 'Table'[Empl./Appl.Name]=EARLIER('Table'[Empl./Appl.Name])))
PoojaShri_0-1638372244629.pngPoojaShri_1-1638372273840.pngPoojaShri_2-1638372458039.png

 

 


Did I answer your question?
Please mark the solution as Accepted!

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Anonymous ,

Did PoojaShri 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept his suggestions to help others who faced similar requirements.

If that also doesn't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

@Anonymous 
Create a calculated column as follows:

Absent Hours = CALCULATE(SUM('Table'[ Number]),
FILTER('Table', 'Table'[Empl./Appl.Name]=EARLIER('Table'[Empl./Appl.Name])))
PoojaShri_0-1638372244629.pngPoojaShri_1-1638372273840.pngPoojaShri_2-1638372458039.png

 

 


Did I answer your question?
Please mark the solution as Accepted!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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