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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.

Top Solution Authors