Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Sorry, newbie PBI question that is now doing my head in and need guru's advice.......I am trying to count the number of rows based on two date columns
Cnt ActSt Blank ActComNot =
CALCULATE(
COUNTROWS('Data'),
FILTER(
'Data',
(ISBLANK('Data'[START_ACT]
&& NOT(ISBLANK('Data'[COMP_ACT]))))
Appreciate any help here
Solved! Go to Solution.
you didn't close the bracket in first ISBLANK
Cnt ActSt Blank ActComNot = CALCULATE( COUNTROWS('Data'), FILTER( 'Data', ISBLANK('Data'[START_ACT]) && NOT(ISBLANK('Data'[COMP_ACT]))))
this formula whould work as well
Cnt ActSt Blank ActComNot = CALCULATE( COUNTROWS('Data'), ISBLANK('Data'[START_ACT]), NOT(ISBLANK('Data'[COMP_ACT])) )
you didn't close the bracket in first ISBLANK
Cnt ActSt Blank ActComNot = CALCULATE( COUNTROWS('Data'), FILTER( 'Data', ISBLANK('Data'[START_ACT]) && NOT(ISBLANK('Data'[COMP_ACT]))))
this formula whould work as well
Cnt ActSt Blank ActComNot = CALCULATE( COUNTROWS('Data'), ISBLANK('Data'[START_ACT]), NOT(ISBLANK('Data'[COMP_ACT])) )
So simple and saved me so much time - you are a superhero Stachu
User | Count |
---|---|
119 | |
78 | |
59 | |
52 | |
48 |
User | Count |
---|---|
171 | |
118 | |
60 | |
59 | |
54 |