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.
Hello,
I'm working off an Excel spreadsheet linked to Power BI and I'm trying to find the average income of just unique Families.
For example, in the sample below, using the Average option in any PowerBI value field results in the average of all rows, in this case, 50,631.25 since a single family is listed multiple times (depending on their household size). I'm trying to get the value listed under the 'UniqueAVG' column, 52,060 - the true average income for families in the sample.
Is there a way to accomplish this either within PowerBI or from Excel?
Thanks!
In this scenario, you just need to use SUMMARIZE() function to create a calculated table to have records group on FamilyId.
Table = SUMMARIZE(Family,Family[FamId],Family[HHSize],Family[Income])
Regards,
I've been playing with this for a few days and still can't figure out where to use the Summarize() function. Do I add it to the Data Model window in Excel? Is there someplace in PowerBI where I should be entering it?
I'm sure it's a simple thing to do but I'm still new at this and I'm completely lost...
Thanks!
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.