Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Showing multiple date calculation values on one date axis

$
0
0

I guess DAX is the way to solve my problems.

I have many tables with many date columns, but fot this example I limitied it to one table and two date columns like in TicketTable1 below. My task is to present a graph for how many tickets has been closed per day/month/year. But I also need to show how many tickets that are open and not closed.

 

TicketTable1(, 2, 3, 4, ...):

TicketNumberOpenDateCloseDate
12016-01-012016-02-01
22016-01-012016-01-02
32016-01-012016-01-03
42016-01-01

What I did was to first create a "DIM Date" table using CALENDARAUTO(). This will create a date dimension table over all my dates in all my tables (I guess). I then end up with a second "DIM Date" table as below

DIM Date:

Date
2016-01-01
2016-01-02
...
2016-12-31

 

My problem is that I don't understand how to relate data between the tables to be able to plot my diagram. As I understand, I can't relate all date-columns in all tables to the DIM Date table, so there must be an other way

 

I would then like to show a bar graph showing something like

 

Representing graph table

DateClosed tickets sys 1Still open tickets sys 1Closed tickets sys 2Still open tickets sys 2
2016-01-0113xxxxxx
2016-01-0212xxxxxx
2016-01-0311xxxxxx
2016-01-0401xxxxxx
2016-01-0501xxxxxx

 

Anyone understanding my problem that could help me in the right direction?


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>