Forum Discussion

fq98's avatar
fq98
New Member
3 years ago

SUMMARIZE problem

I have a problem when creating summarize table from main data table using SUMMARIZE function. The original data contains £ by duration in months e.g 

Months£
134643
13461
212446
2378
33451
378358
624577

 

However, summation table is summing both tenor and £ amount to give:

 

1232
22455
32352
122351
451412
445141

 

The formula is 

SUMMARIZE(table, table[Tenor], "summary £ value",SUM(table[£])). The problem may be because Tenor column is in whole number format and not text? however, it is from an original data source and returns an error when I try change column into text rather than whole number. 

2 Replies

  • ValtteriN's avatar
    ValtteriN
    Icon for Community Champion rankCommunity Champion

    Hi,

    I am not sure I follow but if you want to summarize your data based on a month your dax will work fine:

    However if you have additional dimension column "Tenor" you can use this dax:

    Table 7 = SUMMARIZECOLUMNS('Table (18)'[Months],'Table (18)'[Tenor],"sum",SUM('Table (18)'[£]))

     

    I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

    My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/

  • Manoj_Nair's avatar
    Manoj_Nair
    Icon for Solution Supplier rankSolution Supplier

    fq98 - I think you need to articulate your problem clearly. The examples not adding up correctly with your output. May be add PBIX file. Thanks