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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Null

 
1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@Anonymous Try:

Measure =
  VAR __Dates = 'Dates' // your date table
  VAR __Table = 
    ADDCOLUMNS(
      __Dates,
      "__WeekDay", WEEKDAY([Date], 2)
    )
  VAR __Result = COUNTROWS(FILTER(__Table, [__WeekDay] < 6))
RETURN
  __Result


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
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.