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, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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