Forum Discussion

nwheelersons's avatar
nwheelersons
Frequent Visitor
8 years ago
Solved

Adding case owner to dax table

Hi, I have created this table (sample) using the following formula so that I could obtain the number of cases opened and closed on the same graph (and it worked) Cases O/C = Selectcolumns( addcolum...
  • nwheelersons's avatar
    8 years ago

    Managed to solve it, in the end, using summarise and filters using these formulas

     

    Create table

    Test sucessful = SUMMARIZE('Case data Collector 2','Cases O/C'[Date].[Date],'Case data Collector 2'[Case Owner (groups)])

    New Column

    created cases = countax(filter(FILTER(all('Case data Collector 2'),'Case data Collector 2'[Created Date for Reporting.1].[Date]=EARLIER([Date])),'Test sucessful'[Case Owner (groups)] = 'Case data Collector 2'[Case Owner (groups)]),[Case Number])

    New Column: 

    Closed cases = countax(filter(FILTER(all('Case data Collector 2'),'Case data Collector 2'[Date/Time Closed.1].[Date]=EARLIER([Date])),'Test sucessful'[Case Owner (groups)] = 'Case data Collector 2'[Case Owner (groups)]),[Case Number])

    Thanks everyone