cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
kl8818
Frequent Visitor

Count Formula

I used quick measure and this is the formula it populated. However, I need to adjust it to be "a greater than/equal to 2" versus highlighting every individual number so I do not have to update it each time when new variables are added to the data set. 

= CALCULATE(COUNTA('User Summary'[First Login]),'User Summary'[Total Daily Logins] IN {2,3,4,5,6,7,8})

 

I believe the IN is what I need to adjust but I have not found anything that points me in the right direction. Could someone help me adjust this formula?

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @kl8818 

have you tried 

= CALCULATE(COUNTA('User Summary'[First Login]),'User Summary'[Total Daily Logins] >= 2 )

?

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @kl8818 

have you tried 

= CALCULATE(COUNTA('User Summary'[First Login]),'User Summary'[Total Daily Logins] >= 2 )

?

Thank you! I first tried it with a => and it showed an error. I didn't think to attempt by reversing. That worked!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors