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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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