Forum Discussion

Topjacket's avatar
Topjacket
Icon for Helper I rankHelper I
1 year ago
Solved

Summarize 2 Columns with all possible options

Hi   I have added a new table using SUMMARIZE. All seemed to be working fine but I have just realised that some "Customers" do not have all dates which I need to display.    Is it is possible to ...
  • shafiz_p's avatar
    1 year ago

    Hi Topjacket  Using crossjoin, you would be able to create all kinds of possible combination. Try below code:

    DesiredTable = 
    CROSSJOIN(
        DISTINCT('Cases'[Customer Created]),
        DISTINCT('Cases'[MonthAndYear])
    )

    Desired output:

     

     

    Hope this helps!!

    If this solved your problem, please accept it as a solution!!

     

     

    Best Regards,
    Shahariar Hafiz