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
LABrowne
Helper II
Helper II

DAX: Count the number of items based on one condition

Hi there,

 

I am trying to create a formula that counts the number orders based on a condition (order sat) with a value greater than 100% and it is returning blanks please see what I have below:

 

Order Count (OrderSat > 100%) = COUNTX(VALUES(Order[OrderNumber]),IF([OrderSat (%)] > 100,1))
 
Any help would be greatly appreciated.
1 ACCEPTED SOLUTION

is 100 actually 100%?

View solution in original post

4 REPLIES 4
LABrowne
Helper II
Helper II

Yes I figured out it had to be 1 and not 100! Thanks.

FreemanZ
Super User
Super User

is [OrderSat (%)] a measure or column?

Hi it is a measure.

is 100 actually 100%?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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