Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Use datetable with multiple dates in one table

I am quite new to Power Bi, and I'm just getting started to understand the basics of it.

Now, I came across a problem. I have got a data set with a table with customer support tickets containing multiple date fields (Ticket.CreatedDate and Ticket.ClosedDate). I want to make a graph where I can see the total amount of support tickets per week. To make this work, I discovered date tables in Power Bi. I created a date table containing date, using CALENDARAUTO(), weeknumber, year, month etc. etc.

But having a reationship between Ticket.CreatedDate and Calendar.Date, makes it unable to use Ticket.ClosedDate in another graph.

I have read something about USERELATIONSHIP in DAX, but I don't know how to make this work since I don't really need to calculate something. I only want to use year and weeknumber for zooming in (or 'filtering' or 'slicing') on my graphs.

How can I achieve what I am looking for?

 

Thanks in advance,

Werner

3 Replies