March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |