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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
grzegorz32
Frequent Visitor

The count function in Dax

Hello, I have the following functions written in Excel:
= COUNTIFS ('70 '! $ P $ 2: $ P $ 691, "> =" & A235,
'70'! $ P $ 2: $ P $ 691, "<" & A236)
 Which checks whether a machine cycle has occurred at a given time of 36 seconds. however, I need to do it in Power BI? How should the function I described above look like:
= COUNTIFS ('70 '! $ P $ 2: $ P $ 691, "> =" & A235,
'70'! $ P $ 2: $ P $ 691, "<" & A236)
in DAX.
2 REPLIES 2
amitchandak
Super User
Super User

@grzegorz32 ,Can you share sample data and sample output in table format?

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

Hi, Yes.

grzegorz32_0-1616436374792.png

 

I have a table that is clocking the time every 36 seconds. on its basis, I need to write a query in DAX which will check whether in the table:

grzegorz32_1-1616436559112.png

There is a cycle cycle in the long table.
In short, it wants to check whether an operation is performed every 36 seconds ... or whether there are micro-stops.

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.