The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello, fairly new to Power BI and only just started creating DAX measures!
I have created the measure below
Open Incidents = CALCULATE(COUNT(tincidents[CreatedDate]))
But I need to add a where clause which is basically Where tincidents[ClosedDate] is null but cant work it out!
Thanks
Solved! Go to Solution.
Hi @u16815,
If you still have problems on it, please try this Measure.
Open Incidents =
CALCULATE (
COUNT ( 'tincidents'[CreatedDate] ),
FILTER ( 'tincidents', ISBLANK ( 'tincidents'[ClosedDate] ) )
)
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
Hi @u16815,
If you still have problems on it, please try this Measure.
Open Incidents =
CALCULATE (
COUNT ( 'tincidents'[CreatedDate] ),
FILTER ( 'tincidents', ISBLANK ( 'tincidents'[ClosedDate] ) )
)
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
@u16815 try this:
Open Incidents =
CALCULATE(
COUNT(tincidents[CreatedDate])
tincidents[ClosedDate] == BLANK()
)
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
13 | |
10 | |
10 | |
9 |