Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
is it possible to group subsequently added columns dynamically?
Thanks in advance.
C.
Solved! Go to Solution.
Let's try this:
Go to the Query Editor, select the "static" column(s) (that should be always there no matter what), right click, Unpivot Other Columns.
Please be more specific.
Is it possible to define a groupby routine for all columns, so if one add an column in the data source subsequently, the query still works? I need the same aggregation for every column.
My data source is a SharePoint List,
Hi again.
Just trying to figure out what you need, why do you need the sum on another column? Why don't you calculate what you need on the report view?
Thanks for yout time an effort I'm a total beginner.
Is it in the report view possible to define the groupby action without specifing every single column? I just want to group all columns in a table by one.
Maybe this pseudo code makes it easier to understand what I want to do.
Table = GROUPBY(
Table,
Table[GroupByThisColumn],
Dynamic Name for new Columns(maybe column count +1 or sth),
SUMX(
CURRENTGROUP(),
* (wildcard for all columns in the table)
)
)
Let's try this:
Go to the Query Editor, select the "static" column(s) (that should be always there no matter what), right click, Unpivot Other Columns.
I got it, thanks Svalen.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
91 | |
86 | |
85 | |
68 | |
49 |
User | Count |
---|---|
139 | |
112 | |
104 | |
64 | |
60 |