Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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] ) ) ) )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |