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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
okletsgo
Advocate II
Advocate II

DAX to count the amount of excessed values

I have a column with values and there are limit,  all values over 200 in that column are excessed one.

I wanna create a measure column in DAX to count the those rows that are excessed values.

 

Can you please share some DAX code that can do that?

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @okletsgo ,

 

You can try to create measure like DAX below.

 

Measure1= CALCULATE(COUNT(Table1[ID]),FILTER(ALL(Table1), Table1[VALUE]>200))

 

Or could you please share your sample data or desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi  @okletsgo ,

 

Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

v-xicai
Community Support
Community Support

Hi @okletsgo ,

 

You can try to create measure like DAX below.

 

Measure1= CALCULATE(COUNT(Table1[ID]),FILTER(ALL(Table1), Table1[VALUE]>200))

 

Or could you please share your sample data or desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.