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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
joshua1990
Post Prodigy
Post Prodigy

Count Entries at Weekend previous 3 Weeks

Hello everyone!

I need to figure out if any sales have been proceed on the weekend for the last 3 completed weeks.

I have this fact sheet:

IDDateValueKey
00103.03.20215AB
00104.03.20216AB
00105.03.20217AB
00106.03.20218AA
00107.03.20211AA
00205.03.20214AB
00206.03.20212AA
00207.03.20213AA

 

The key 'AA' means sales on weekend.

Regardless of if the sale was on Saturday or Sunday or both, it always counts as 1.

If there are entries with key 'AA' for the previous 3 weekends for an ID, then I need a TRUE. If not, then a FALSE.

How would you do that?

I already have a calendar table that shows me the week offset:

DateWeekOffset
28.02.2021-1
01.03.20210
02.03.20210
03.03.20210
04.03.20210
05.03.20210
06.03.20210
07.03.20210

 

 

I need a measure/ approach based on Dax without any transformation in PQ.

0 REPLIES 0

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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.

Users online (27)