March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Below is a generalized example of the type of table I'm dealing with. There are multiple notes associated with any given "win." I'd like both a summary of the this data as seen below and an ability to drill down to see the multiple notes for any given sale. What's the the best way to do this? I am guessing that building a matrix using average instead of sum will get me where I need to be. And then somehow I can simply sum the averages instead of having an overall average in the grand total. Maybe I just answered my own question... Is there a better or more elegant way to do this than using average instead of sum for the values?
Solved! Go to Solution.
Hi @Zarlot531 ,
To create a calculated table as below. If it doesn't meet your requirement, kindly share your sample data to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Table = SUMMARIZECOLUMNS ( Table1[Group], Table1[SubGroup], "sales", AVERAGE ( Table1[Sales] ), "note", CALCULATE ( MAX ( Table1[Notes] ), FILTER ( Table1, Table1[Note date] = MAX ( Table1[Note date] ) ) ) )
Hi @Zarlot531 ,
To create a calculated table as below. If it doesn't meet your requirement, kindly share your sample data to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Table = SUMMARIZECOLUMNS ( Table1[Group], Table1[SubGroup], "sales", AVERAGE ( Table1[Sales] ), "note", CALCULATE ( MAX ( Table1[Notes] ), FILTER ( Table1, Table1[Note date] = MAX ( Table1[Note date] ) ) ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
81 | |
62 | |
54 | |
41 |
User | Count |
---|---|
194 | |
106 | |
90 | |
63 | |
51 |