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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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