Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hi,
I have a db that contains tickets a ticket is created in a date and closed in an other,
the ticket is open if he dont have a date closed or he is between the two dates
the question is how in per exemple in 10/07/2016 i can know the exactly number
of tickets with DAX please ??
Solved! Go to Solution.
Here is a similar post for your reference.
http://community.powerbi.com/t5/Desktop/Trend-from-History-Table/m-p/200304#M88115
Given a table of Dates, how about a calculated column like this?
OpenTickets = CALCULATE(COUNTROWS(Tickets),FILTER(Tickets,(Tickets[create_ticket]<=[Dates] && ISBLANK(Tickets[close_ticket_date]) || (Tickets[create_ticket]<=[Dates] && Tickets[close_ticket_date]>=[Dates]))))
Easiest way would be to go to the data model and click on New Table and use the following formula:
DateTable = CALENDARAUTO()
Then, flag that column as a Date field versus Date/Time field.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |