Katie Langford Posted August 2, 2023 Share Posted August 2, 2023 Here's an example of the data I have:Team Shift Direct Indirect %UtilizedCleaning Shift B 150.25 10.5 93%Cleaning DAY1 315 103 75%The utilized column is calculated by Direct/(Direct+Indirect). I have placed the data in a cross table and when both filters are selected it sums the %utilized to 168% where I'd like it to show 80%. So it would be 93% when Shift B is selected, 75% when DAY1 is selected and 80% when both is selected. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted August 3, 2023 Share Posted August 3, 2023 I don't think a cross table can do this, as this seems calculated row by row and you cannot add percentages.I would suggest using a KPI chart.For instance you can set it up so that the Value (y-axis) is defined as:Sum([Direct]) / (Sum([Direct]) + Sum([indirect])) as [Percentage] (formatting it as a percentage with e.g. zero decimal figures)and it would react to filters and look like the snapshot. Link to comment Share on other sites More sharing options...
Katie Langford Posted August 4, 2023 Author Share Posted August 4, 2023 Hi Gaia, Many thanks for your response. I'm not sure if the KPI chart would be the best option as I'll need the Available Utilization for each day. I've attached a screenshot of the dashboard which will provide more detail:Shift A:Days:Shift A and Days:I'd like Shift A and Days filter to show 90% (606.5/(606.5+68.5))Thanks in advance Link to comment Share on other sites More sharing options...
Gaia Paolini Posted August 4, 2023 Share Posted August 4, 2023 without a sample dxp I don't think I am able to help further. I think the main problem you are facing is that you cannot add fractions with different denominators. One possible workaround would be to have a cross table with the detail and one with the summary. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now