A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
I have solved this with the PowerPivot. You may download my solution workbook from here.
Hope this helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using a pivot table, and need to have it return the Distinct value for the Units. So for example - for grouping #1 below - I need to get 500, and not the sum of that. If I use the average, min, or max, I get the right value, but then the sub-totals and grand totals are based on the average/min/max of all the grouping, and not the sum of groups 1 to x. I am not an expert, and tried putting into a data model, but then I could not add my own calculated fields
| Grouping | Sum of Units | Sum of Total |
|---|---|---|
| group 1 | 6,000 | $ 98,000 |
This is a sample of ONE set of data. There are columns not shown that get to the sum of the total that are not shown
| Grouping | Units | Year 3 total |
|---|---|---|
| group 1 | 500 | 50000 |
| group 1 | 500 | 60000 |
| group 1 | 500 | 70000 |
| group 1 | 500 | 10000 |
| group 1 | 500 | 15000 |
| group 1 | 500 | |
| group 1 | 500 | |
| group 1 | 500 | |
| group 1 | 500 | |
| group 1 | 500 | |
| group 1 | 500 | |
| group 1 | 500 |
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hi,
I have solved this with the PowerPivot. You may download my solution workbook from here.
Hope this helps.
Hi pmw0813,
Have you referred to measure provided by Ashish? Please let us know, if you still need any help.
@Ashish, thanks for providing the solution.
Regards,
Chitrahaas
Hi,
This is the measure I have written
=if(HASONEVALUE(Data[Grouping]),MIN(Data[Units]),SUMX(SUMMARIZE(VALUES(Data[Grouping]),[Grouping],"ABCD",MIN(Data[Units])),[ABCD]))
Hope this helps.
We are not allowed to access onedrive externally -