Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone I have an issue which I'm sure is simple but I cannot get it to work. (as our dataset is huge and not easy for me to scrub some data out off ill try and explain.
Currently we have a table iv_fact_ticketsall. This is the fact table for out ITSM tool. It has large number of dimensions and some other fact tables associated with it. One of them contains every status the ticket has been assigned at some point and the length it was on. This is called IV_Fact_TicketChange. Now I have a measure _StatusLength(Minutes) in IV_Fact_TicketChange which works out the length of each status based on BeginDateTime & EndDateTime fields. With some dax to takeout weekends and bankholidays. Inside that table there is also a field TicketStatusSK. Which holds the status. Both tables are linked by the reference number (TicketNumber) so each row in iv_fact_ticketsall table would have multiple entries in the iv_fact_ticketchange.
I need to get total length of a ticket. Based on combination of certain status's and which is less than 5 days or in my case 7200 minutes.
Now I can do this easily as create calculated column:-
Then use this with in my measure to aggregate down all the rows which are <= 5 days. then divide this by the total number of tickets for a given month. Such as: -
RETURN
However in this instance I need to create it in the\a measure used in a calculation for KPI. (Unfortunately for this one particular KPI they only want to count certain status and as its not need other areas I rather it was not a calculated column.) I'm sure this is pretty Simple but cannot get it to work
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |