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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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