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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Lahari
Helper II
Helper II

Filter the column based on slicer by dax measure

Hi all, 

 

I have an excel file where we have employees name column, their joining date column and department name column. For the same person, department has been changed after 2 months. Now I have written a running total measure where to find department wise how many employees count are their. The measure is as in the image. I will share you the excel file as well.

IMG_20221206_103336_129.jpg

 what changes I have to do for dax measure in order to get correct running total for selected department in a slicer. 

 

IMG_20221206_103344_795.jpg

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Lahari ,

Do you mean the total in the measure is incorrect?

 

Best Regards,
Community Support Team _ kalyj

For total it's getting correct but when I try to slice the total for department vise I am getting networking as 6 and finance as 6 but I need to get networking as 5 and finance as 5

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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