Forum Discussion
grzegorz32
5 years agoFrequent 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
- amitchandakSuper User
grzegorz32 ,Can you share sample data and sample output in table format?
- grzegorz32Frequent Visitor
Hi, Yes.
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:
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.