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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kieran-q_20
Helper I
Helper I

Help with Measure

Hi guys, 

 

I am trying to create a measure which can count how many values in another column below a specific number. Any help would be greately appreciaated, Thank you 

1 ACCEPTED SOLUTION
lukiz84
Memorable Member
Memorable Member

hi,

 

YourMeasure =
    CALCULATE(
        COUNT(YourTable[YourColumn]),
        YourTable[YourColumm] < 123
    )

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Kieran-q_20 

You can use countax() function

e.g :

measure = COUNTAX(FILTER(ALL('TABLE 3'),[aaa]=SELECTEDVALUE('Table 3'[aaa])),[aaa])

vxinruzhumsft_0-1670567013947.png

 

 

Best Regards!

Yolo Zhu

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

lukiz84
Memorable Member
Memorable Member

hi,

 

YourMeasure =
    CALCULATE(
        COUNT(YourTable[YourColumn]),
        YourTable[YourColumm] < 123
    )

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.