Discussion Locked
0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hey guyz how can percentage of 2 columns be calculated in a cross tab? Any ideas or suggestions. Im using 8.5 so any features like that in version 9. if yed do let me know so i can purchase it. otherwise let me know the solution for it.
1 reply
Do you want to display more than one column of data in your cross-tab? if so
Then this trick may help
Create a union query
instead of
select customer,region,salesvalue,margin from sales
use select customer,region, 'Sales' as Type, salesvalue as measure
from sales
union
use select customer,region, 'Margin' as Type, margin as measure
when you do you cross tab you can get 2 columns for each region if you were to put region as the first column group and then type as the second
It is rather messy but it is the best I have found so far
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Question Unanswered
Best Way to Make Long WordPress Location Guides Mobile Friendly
0 helpful
0 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies