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
Ankit_1987
Helper I
Helper I

total users daily count by user Ids

Hi, 

So this is my column

 

UserIds                                        Date            More Columns

xjhbdckjbfdjhbad

DSKbakdhvbakjdsb

JDcjhvbakjsdb

 

I have new users coming in daily...How do I count distinct users each day and make a column for running/ cumulative total.

 

something like- 

if total users on 1st 2nd 3rd 4th and 5th dates were 5, 10 , 15, 20, 25

then the column should say 

Dates             Total Users

1st                  5

2nd                 15

3rd                  30

4th                  50

so on

 

The problem is the user id are text data type so have not been able to count and apply calculate formula to it.

Thanks

 

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Ankit_1987,

 

From your description, I try to reproduce the scenario as yours. If you want to make a column for running/ cumulative total, you could create the measure like this:

total User = COUNTAX(FILTER(ALLSELECTED(User),User[Date]<=MAX(User[Date])),User[UserId])

 

This visual you could refer to:

 total user.PNG

 

For the details, you could refer to my test pbix file here.

 

Hope it can help you!

 

Best Regards,

Cherry  

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Cherry,

Thanks for the revert, I thought it helped. bUt here what I got...

 

I replicated what you did- These are two column in question..the list is long...

Capture.PNG

 

after adding the column you mentioned--

I got this--

Capture1.PNG

 

Not what I was expecting...

Also I noticed in your pbix file calculated column are shown as measure(like a calculator)..mine shows something else

Hi @Ankit_1987,

 

From your description, you may have a misunderstand of measure and calculated column. In this case, you should create a measure not a calculated column.

 

You could refer to the steps of creating a measure:

 

  1. Click Modeling ——New Measure

 

Untitled.png

Capture2.PNG

    

2.  Type in the dax function:

 

Capture.PNG

 

    3.   You could rename the measure as you want.

 

If it still doesn’t work, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry  

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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.

Top Solution Authors