Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi Comunity could you help me
i have a database with tow columns with dates one marks when a register has been created and other one mark the date when this is closed. the thik is that i want to display in the same graph the number of tickets had been created on one day and how many had been close. both coulmns has a relationship with my Calendar table. right now the counting for my open items works but for the Closed items is just counting the cases which happens during the same month of the creation.
this is what i have till now
this is what i want 🙂
Solved! Go to Solution.
Hi @jacostal ,
First of all, many thanks to @audreygerred for your very quick and effective replies, and I will give some additions below:
1.Create the sample table.
2.Create the new measure to calculate created tickets.
created Tickets =
VAR ticket_ = CALCULATE(
COUNTROWS('Task Table'),
USERELATIONSHIP('Task Table'[Created Date], 'Table'[Date])
)
RETURN
IF(ticket_ = 0, 0 , ticket_)
3.Create the new measure to calculate closed tickets.
closed tickets =
CALCULATE(
COUNTROWS('Task Table'),
USERELATIONSHIP('Task Table'[Closed Date], 'Table'[Date])
)
4.Drag the measure into the table visual and line chart.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jacostal ,
First of all, many thanks to @audreygerred for your very quick and effective replies, and I will give some additions below:
1.Create the sample table.
2.Create the new measure to calculate created tickets.
created Tickets =
VAR ticket_ = CALCULATE(
COUNTROWS('Task Table'),
USERELATIONSHIP('Task Table'[Created Date], 'Table'[Date])
)
RETURN
IF(ticket_ = 0, 0 , ticket_)
3.Create the new measure to calculate closed tickets.
closed tickets =
CALCULATE(
COUNTROWS('Task Table'),
USERELATIONSHIP('Task Table'[Closed Date], 'Table'[Date])
)
4.Drag the measure into the table visual and line chart.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi! This video on YouTube should get you where you need to be 🙂
DAX measure with start AND end date for Power BI (youtube.com)
Proud to be a Super User! | |
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
21 | |
19 | |
14 | |
11 |
User | Count |
---|---|
43 | |
35 | |
25 | |
22 | |
22 |