Forum Discussion
Power BI - Rows to Columns
I need to create a matrix, but my souce data has two collums that need to be altered
The action column as three occuring actions, Purge, Add, and Scan.
I need these to be headers with the counts to be assigned to below them.
This is needed as the stores will then corespod to the relevant total
- Anonymous1 year ago
Hi nultra ,
You can use the following measure as the matrix value to display as a percentage.Percentage = DIVIDE ( SUM ( 'Table'[Counts] ), CALCULATE ( SUM ( 'Table'[Counts] ), ALL () ) )Please see the attahced pbix file for reference.
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- nultraRegular Visitor
Thanks for that, Is there a way to duplicate the total tab? I need the total to be as a % as well
- AnonymousNot applicable
Hi nultra ,
You can use the following measure as the matrix value to display as a percentage.Percentage = DIVIDE ( SUM ( 'Table'[Counts] ), CALCULATE ( SUM ( 'Table'[Counts] ), ALL () ) )Please see the attahced pbix file for reference.
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.