The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a ticketing system that gives me a
-Work Order number
-A open date
-a closed date
I'm trying to create a line graph that will show on a week by week basis how many open tickets on a particular date. I'm struggling with the DAX logic that will show on date XXXX that a ticket is open based on the open and closed dates. Can anyone help me out?
Solved! Go to Solution.
This should do the trick.
Measure =
COUNTROWS (
CALCULATETABLE ( 'TicketTable', 'TicketTable'[ClosedDate] <> BLANK () )
)
Obviously replace the table and column names with the actual object names that exist in your PBI model.
This should do the trick.
Measure =
COUNTROWS (
CALCULATETABLE ( 'TicketTable', 'TicketTable'[ClosedDate] <> BLANK () )
)
Obviously replace the table and column names with the actual object names that exist in your PBI model.
Thanks! That works! So simple...ugh!
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
12 | |
9 | |
7 |