Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi, i got this table:
The last row is a step where i have used this code to create the the step.
#"Grouped Rows" = Table.Group(#"Changed Type", {"Source.Name"}, {{"Count", each Table.InsertRows(_,Table.RowCount(_),{[Source.Name="", Kontoart=39100, Stedsart="", #"Beskrivelse - Prognose"="Tekst", År=2020, Periode=1, Beløp=5]})}}),
In inserted rows column "Beløp" i want to sum all the values above. What code do i put in instead og "5"?
Bonus task: I also want to use an "if" statement to sum only if Column "Stedsart" is "47700"
Solved! Go to Solution.
prova questa:
#"Grouped Rows" = Table.Group(#"Changed Type", {"Source.Name"}, {{"Count", each Table.InsertRows(_,Table.RowCount(_),{[Source.Name="", Kontoart=39100, Stedsart="", #"Beskrivelse - Prognose"="Tekst", År=2020, Periode=1, Beløp=List.Sum([Belop])]})}}),
Bonus task: quale riga della colonna Stedsart deve essere controllata?
prova questa:
#"Grouped Rows" = Table.Group(#"Changed Type", {"Source.Name"}, {{"Count", each Table.InsertRows(_,Table.RowCount(_),{[Source.Name="", Kontoart=39100, Stedsart="", #"Beskrivelse - Prognose"="Tekst", År=2020, Periode=1, Beløp=List.Sum([Belop])]})}}),
Bonus task: quale riga della colonna Stedsart deve essere controllata?
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 11 | |
| 11 | |
| 7 | |
| 6 |