Forum

Notifications
Clear all

DAX

4 Posts
2 Users
0 Reactions
67 Views
(@vivian726)
Posts: 30
Trusted Member
Topic starter
 

Hi Mynda,

Thanks for the work has done so far. I am wonder if you could help me how to write DAX in below case.

As per attachment, I would like to calculate the Monthly salary or other cost /total cost by branch and month,

So in Apr, WA/SA/NT branch, Monthly salary/total cost in WA/SA/NT=73%, other cost/total cost in WA/SA/NT=37%

thanks in advance. 

 
Posted : 21/06/2020 9:46 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Vivian,

There's no attachment. Please try uploading it again.

Thanks,

Mynda

 
Posted : 22/06/2020 6:10 am
(@vivian726)
Posts: 30
Trusted Member
Topic starter
 

as attached, the % wanna to show is listed and wanna a pie chart out of it.thanks 

 
Posted : 22/06/2020 10:06 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Vivian,

Right-click the values area of the PivotTable > Show Values as > % of parent row total. Obviously you can't create a Pie Chart from the PivotTable when it contains all branches, you'd have to create a single PivotTable for each branch that will support the individual Pie Charts.

Mynda

Mynda

 
Posted : 22/06/2020 11:58 pm
Share: