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
hguetaf
New Member

calculates number of customers who have an amount greater than 0 per week day

hello everyone i really need your lights on the topic,
to clearly explain the need:
I have two tables 1) Customer and 2) Sales + a calendar table that I created
I wanted to calculate the number of customers who made sales during the week 

 

it should be look like " 

Mesure = CALCULATE(COUNTA(Consumer'[ID]) , count(Day) if Sale[Amount] > 0)

 

Thank you

1 REPLY 1
ribisht17
Super User
Super User

@hguetaf 

 

I have 3 customers out of 4  with +Profit

 

EARLIER

 

ribisht17_1-1654492679391.png

 

 

 

AFTER FILTER

ribisht17_0-1654492634320.png

NOTE

 

ribisht17_2-1654492761864.png

 

Regards,

Ritesh

Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users 

 

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 (25)