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.
I'm quite new to PowerBI have been tasked to create a dashboard to show service desk ticket stats, and need some assistance with formulas to calculate the following:
I have got tickets opened today and yesterday working using:
Today = Calculate( DISTINCTCOUNT('Tickets'[Number]), FILTER(ALL('Tickets'), 'Tickets'[Opened] >= TODAY())) Yesterday = Calculate( DISTINCTCOUNT('Tickets'[Number]), FILTER(ALL('Tickets'), 'Tickets'[Opened] >= TODAY()-1))
I also have 'days since opened' and 'days since updated' using the below formula, but need to count only working days. I am wanting to use the NETWORKDAYS formula but can't get my head around structuring this.
Days Since Opened = INT(Today()-[Opened]) Days Since Updated = INT(Today()-[Updated])
And lastly, I'm needing to calculate the resolution time using the time closed and time opened. I'm assuming this will be using the DATEDIFF formula, but haven't been able to get this working either.
Would love your assistance with these please!
@bdsimpsn Try:
Days Since Opened = NETWORKDAYS(Today(),[Opened])
Days Since Updated = NETWORKDAYS(Today(),[Updated])
Days Open = ([Closed] - [Opened]) * 1.
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |