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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
AlanP514
Post Patron
Post Patron

Dax for conditional grouping

AlanP514_0-1695808946086.png

I am trying to create conditional group or bin based on the measure 
I need to segragte all customer into three
Hyper active 
Super Active
Active
I Have created count of user who has logged in each month(Below is that measure)

Logins = Sumx(Facttracking, Fact tracking[Desktop count] +  Fact tracking[Mobile count]

so i have added user in the row section of the pivot , month in the section of column name and login in the measure value
so according to the sum of all values aganist each month
if the total sum of the count value  >= 5 i need to segregrate those customer into hyper active
if the total sum of the count value  = 3,4 i need to segregrate those customer into Super  active
if the total sum of the count value  = 1,2 i need to segregrate those customer into   active

one more condition is these above condition should work if login time is greter or lesser for entire month
not based on each month




Appreatiate help on this to create dax

2 REPLIES 2
CoreyP
Solution Sage
Solution Sage

Can you please provide a sample of your raw data and a screenshot of the model. If there's sensitive data, feel free to just create mock data as example.

Hi @CoreyP 
Thanks for your reply,
i am attaching Excel sheet containing the Logic and the logic table which i created in power bi and the data model , please have a look 
Appreciate help on this to achive the logic


Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors