I have a formula that counts number of indikators and sum values. The formula is working, but I can't figure out how to place the Year on top for each count and sum.
AddColumns(
GroupBy(
colAktivitetPrAar;
"År";
"Indikator";
"alle_objekter"
);
"antall_indikator";
CountRows(alle_objekter);
"sum_antallKontakter";
Sum(alle_objekter;AntallKontakter)
)
2022 2023
| Indicator1 | 12 | 3679 | 14 | 6000 |
| Indicator2 | 3 | 23 | 15 | 45 |
| Indicator2 | 11 | 3697 | 11 | 5000 |
Can somebody Please help me ?