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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MattC2020
New Member

Countrows

Hi,

 

I want to produce a visual that shows in cell in a column that has a value greater than 10 or greater than minus 10. To be honest I`m struggling with this and havent succeeding in getting very far 😞 even after many attempts!

 

I`ve tried first to see if I can get values greater than 10 with the below formula, but that doesnt seem to work. Any help would be much appreciated! 

 

countbreak = CALCULATE(COUNTROWS(Accounts),FILTER(Accounts,[Liquidity Fund Difference] >10))
 
Many Thanks

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@MattC2020 

So you want filter the value, greater than 10 or greater than -10?  Did you mean >10 and <-10? And it can be wrong if [Liquidity Fund Difference] a measure, try column if possible.

 

countbreak = CALCULATE(COUNTROWS(Accounts),FILTER(Accounts,[Liquidity Fund Difference] >10||[Liquidity Fund Difference]<-10)

 

 

Paul Zheng _ Community Support Team
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
Anonymous
Not applicable

@MattC2020 

So you want filter the value, greater than 10 or greater than -10?  Did you mean >10 and <-10? And it can be wrong if [Liquidity Fund Difference] a measure, try column if possible.

 

countbreak = CALCULATE(COUNTROWS(Accounts),FILTER(Accounts,[Liquidity Fund Difference] >10||[Liquidity Fund Difference]<-10)

 

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@MattC2020 , You need to provide a level or group by in values or summarize where you want the diff should be >10 . something like this

countbreak = CALCULATE(COUNTROWS(Accounts),values(Accounts[Account]),FILTER(Accounts,[Liquidity Fund Difference] >10))

countX(filter(summarize(Accounts,Accounts[Account],"_1",[Liquidity Fund Difference]),[_1]>10),[Account])

 

I assume account is that row context/level/group by

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors