Forum Discussion

Sofinobi's avatar
Sofinobi
Helper IV
2 years ago
Solved

Force Summarize Table

Good morning all,
please, i have 3 tables ; "Sales_Tab" as fact,
                                     "ThirdParty" as dim, and Date Table
i want to create a summarized table with 3 columns ; Client, Start of Month, Sales
1 - but i want to force the table to display the client event if he has not sales data in that month (want to display 0)
2 - if it's possible, filter the months only for the 6 last months (including current month)
i have this code, but it doesn't give me what i want exactely.

Summarize Table = SUMMARIZE(Sales_Tab,ThirdParty[Client],DATE[Start of Month],"Sales",[Total Sales])

thank you so much for your help



  • Summarize Table = ADDCOLUMNS(SUMMARIZECOLUMNS(Client[Oid],'Date'[Month]),"Sales", calculate(0+SUM(Sales[Amount])))
     

     

5 Replies