Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all
I am attempting to display collumn values much like a pivottable "show values as % of collumn total" depending on if the rows are the same inside power query
For example:
| Team | Task | Volumes |
| Alpha | Mailroom | 100 |
| Alpha | Customer Calls | 500 |
| Mega | Mailroom | 50 |
| Mega | Customer Calls | 100 |
| Mega | Outbound Sales | 250 |
I would need to transform into the below table where the % of volumes for each team would sum to be 100% and each task has the appropiate % of volume complete out of everything they received.
| Team | Task | Volume % |
| Alpha | Mailroom | 17% |
| Alpha | Customer Calls | 83% |
| Mega | Mailroom | 13% |
| Mega | Customer Calls | 25% |
| Mega | Mailroom | 63% |
Solved! Go to Solution.
pls try this
Measure =
DIVIDE(
SUM('Table'[Volumes]),
CALCULATE(SUM('Table'[Volumes]),ALLEXCEPT('Table','Table'[Team]))
)
pls try this
Measure =
DIVIDE(
SUM('Table'[Volumes]),
CALCULATE(SUM('Table'[Volumes]),ALLEXCEPT('Table','Table'[Team]))
)
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 45 | |
| 34 | |
| 27 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 22 | |
| 20 |