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

Graph multiple measure that use different dates???

$
0
0

I have a fact table that has rows for service tickets. The table includes collumns for Date Requested, Date Created, Date Finished, and Status (there are others, but they are not important for the issue at hand). Currently, the Fact table is connected to a date table using the Date Requested Field.

 

I created 2 measures:

# of Tickets Created = Countrows(FactTBL)

# of Completed Tickets = Calculate(Countrows(FactTBL),Status="Complete")

 

I need to plot the # of tickets created and the # of tickets completed by Month. But, i need the number completed to be based on when they were completed and the number created based on when they were created. Currently, the chart is showing the values based on the Date Requested field.

ex.

 

IDDate RequestedDate CreatedDate FinishedStatus
11/1/20161/5/20162/1/2016Complete
22/1/20162/1/20163/15/2016Complete
32/1/20162/8/2016 Open
43/1/20163/5/20164/10/2016Complete

 

based on the example above should show for Jan 1 created an 0 completed, for Feb. 2 created and 1 completed, for Mar 1 created and 1 complete. and for April 0 created and 1 complete. That's not what i am getting. Any suggestions on how to resolve this?


Viewing all articles
Browse latest Browse all 216047

Trending Articles



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