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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Cumulative amount of users on specific date

Hello fellow PowerBI enthusiasts,

I cannot get my head around the following problem.

 

I have one table called CUSTOMER showing all of my customer ID’s:

 

Customer ID

Sign up date

1

1-1-2018

2

1-2-2018

3

1-3-2018

4

1-4-2018

5

1-4-2018

6

1-4-2018

7

1-5-2018

8

1-6-2018

 

I have another table called PROMOTIONS showing all of my promotions:

 

Promotion name

Start date of promotion

A

1-2-2018

B

1-3-2018

C

1-4-2018

D

1-5-2018

 

What I want is a column in my promotions table, that tells me the total amount of customers that were signed up at the day the promotions started. How do I get about that?

 

Promotion name

Start date of promotion

Example column: Amount of customers at the start of promotion

A

1-2-2018

2

B

1-3-2018

3

C

1-4-2018

6

D

1-5-2018

7

 

FYI In this example the customer ID’s are numbers and every new customer has a follow up number. In the actual data this is not the case; the customer ID is a random GUID.

 

Thanks in advance!

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@Anonymous Please try this as a "New Column" in your promotions table.

 

Result = CALCULATE(COUNTROWS(Test149Customers),FILTER(Test149Customers,Test149Customers[SignUpDate]<=Test149Promotions[StartDateofPromotion])) 
image.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

2 REPLIES 2
PattemManohar
Community Champion
Community Champion

@Anonymous Please try this as a "New Column" in your promotions table.

 

Result = CALCULATE(COUNTROWS(Test149Customers),FILTER(Test149Customers,Test149Customers[SignUpDate]<=Test149Promotions[StartDateofPromotion])) 
image.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

That's so weird, I've tried a similar formula but it just wouldn't work, but this one works indeed. Thanks a lot for your help @PattemManohar!

Helpful resources

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors