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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Data Filter for Monday Joining Employees

Hi All,

 

Need help me how to filter monday employee joining records, every day data loads into employees table who join on every day but i want data who joined on every monday. 

 

Thanks

bharath

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @bharathpaturu33 

you can create a column by using the function WEEKDAY(<date>, <return_type>) to get the number identifying the day of the week of a date. FYI: https://docs.microsoft.com/en-us/dax/weekday-function-dax

weekday = WEEKDAY('Table'[Date],2)//return 1-7, monday=1

then, create a measure filterMeasure, and drag the measure into the filters on this visual 

filterMeasure = IF(SELECTEDVALUE('Table'[weekday])=1,1,0)//return 1 when weekday=1,else return 0

v-xiaotang_0-1623399671534.png

 then the visual will only show data of monday.

 

Best Regards,

Community Support Team _ Tang

If this post helps, please consider Accept it as the solution✔️ to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @bharathpaturu33 

you can create a column by using the function WEEKDAY(<date>, <return_type>) to get the number identifying the day of the week of a date. FYI: https://docs.microsoft.com/en-us/dax/weekday-function-dax

weekday = WEEKDAY('Table'[Date],2)//return 1-7, monday=1

then, create a measure filterMeasure, and drag the measure into the filters on this visual 

filterMeasure = IF(SELECTEDVALUE('Table'[weekday])=1,1,0)//return 1 when weekday=1,else return 0

v-xiaotang_0-1623399671534.png

 then the visual will only show data of monday.

 

Best Regards,

Community Support Team _ Tang

If this post helps, please consider Accept it as the solution✔️ to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

calculate(count(employee[employee id]), filter(employee, weekday(employee[join date],2) =1))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors