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! Learn more

Reply
Anonymous
Not applicable

Categorize total users based on existing and New customers in Dax

Hi,

 

I have a table like below with three columns. 

 

DateCustomer nameTotal users
Jan-01xyz10
Jan-01abc30
Jan-01eft25
Feb-01xyz20
Feb-01abc30
Feb-01eft50
Feb-01maf5

Based on this table i am visualising user growth Mom as below

 

 Jan-01Feb-01
user growth Mom65105

Now i want to enhance this report, by categorising the user growth by new and existing customers.

 

For example, from the above table customer "Maf" is the new customer added on Feb who added 5 users. for this i have to create two conditional columns. one should be the total users from existing customers and total users from new customers. so i can categorize the visual like below

  Feb-01
 users from existing customersusers from new customers
user growth Mom1005

Please help how we can create two conditional columns for user total of existing and new customers

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@ribisht17 

 

Thanks for your solution. But i have tried an other calculation and it worked

View solution in original post

10 REPLIES 10
ribisht17
Super User
Super User

Any luck with the provided solution?

 

Regards,

Ritesh

Anonymous
Not applicable

@ribisht17 

 

Thanks for your solution. But i have tried an other calculation and it worked

Sure, good to know that, then you can paste your calculation here and set that as resolved so that it can help the community

 

Regards,

Riresh

ribisht17
Super User
Super User

Let me know if it helped you or not, if yes, please mark the answer so that it can help others as well

File was reuploaded 

 

Regards,

Ritesh

ribisht17
Super User
Super User

Are you able to download it now with the new link?

 

Regards,

Ritesh

ribisht17
Super User
Super User

https://drive.google.com/drive/folders/1RXVBOg-i46OMGZrgACeE_norA0XJiULS?usp=sharing

 

Regards,
Ritesh
Please mark the question if it helps you so that it can help others
ribisht17
Super User
Super User

Regards,
Ritesh
Please mark the question if it helps you so that it can help others
Anonymous
Not applicable

Hi,

 

I am not able to open the file, could you please send as unzipped file please?

ribisht17
Super User
Super User

Hi Unipbi123,

 

Are you looking for something like this,

 

ribisht17_0-1648797575730.png

 

If yes, then this is the DAX for the same

 

Column = IF(

COUNTROWS(
FILTER(
'User Growth','User Growth'[Customer name]=EARLIER('User Growth'[Customer name])
)
)=1,"New","Old"

)
 
Regards,
Ritesh
Please mark the question if it helps you so that it can help others
Anonymous
Not applicable

Hi,

 

Can you share the pbix file with me please?

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