Forum Discussion
vjnvinod
8 years agoImpactful Individual
sum column error
hi ,I need to sum all the values of one coloumn, but unfortunately it showing some syntax error? can someone have a look and let me know, how to fix this? Regards, vinod
vjnvinod
8 years agoImpactful Individual
Anonymous
this may not work in my other situations, I created a new coloumn using the below
SummarisedAccountsector = SELECTCOLUMNS(Inbound,"Sector",Inbound[AccountSector],"USD",Inbound[TER_FYTD_USD])
But whats happening is, i have only 3 account sector (Technology, Media & entertainment and Telecom)
my main issue is its not grouping the sector and their respetive aggregate sums
see the table table below
| Sector | USD |
| Technology | 400000 |
| Technology | 400000 |
| Technology | 400000 |
| media & entertainment | 400000 |
| media & entertainment | 400000 |
| media & entertainment | 400000 |
| telecom | 700000 |
| telecom | 700000 |
| telecom | 700000 |
Expected table
| Sector | USD |
| Technology | 400000 |
| media & entertainment | 5000000 |
| telecom | 700000 |
v-jiascu-msft
8 years agoMicrosoft Employee
Hi vjnvinod,
1. If you want to put a single value in a table, you could try the formula below.
Table 3 = {sum(FactSales[SalesQuantity])}
2. You can try the following formula to get the expected table.
SummarisedAccountsector =
SUMMARIZE (
Inbound,
Inbound[AccountSector],
"USD", SUM ( Inbound[TER_FYTD_USD] )
)
Best Regards,
Dale