Forum Discussion
Combined Matrix
- Anonymous1 year ago
Hi Marico ,
The following virtual table can be created with the help of the NATURALINNERJOIN function:
FlagTable = SUMMARIZE( 'SalesData', 'SalesData'[Category], 'SalesData'[Flag], 'SalesData'[Internal/ External], "SalesAmount", SUM('SalesData'[Sales]) )TotalSalesTable = SUMMARIZE( 'SalesData', 'SalesData'[Category], 'SalesData'[Internal/ External], "TotalSales", SUM('SalesData'[Sales]) )FinalOutputTable = NATURALINNERJOIN( SUMMARIZE( 'SalesData', 'SalesData'[Category], 'SalesData'[Internal/ External], "TotalSales", SUM('SalesData'[Sales]) ), SUMMARIZE( 'SalesData', 'SalesData'[Category], 'SalesData'[Flag], 'SalesData'[Internal/ External], "FlagSales", SUM('SalesData'[Sales]) ) )Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Marico ,
Step1 -You will need to calculate the total sales grouped by Category and Internal/ExternaL.
Step 2 - Create a Masure for both Flag1 and Flag2
Step3 = Create a final Table using summarize then use the same to plot in the table visual like you wish in output
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!
Thank You
Dharmendar S
dharmendars007 I am not able to create the matrix like the below from output of summarize table:
Could you please share a sample file? Thanks a lot in advance.
- Marico1 year agoHelper IV
lbendlin Greg_Deckler Ritaf1983 rajendraongole1 parry2k Any thoughts on above?
- lbendlin1 year agoSuper User
Your desired output doesn't seem to make sense. What would you change on the below (which was done without coding)