Forum Discussion

Shawn_Eary's avatar
Shawn_Eary
Advocate V
3 years ago

Multiple Table Relationships with the Stacked Column Chart

I have the following test tables: 
Courses 

IdSeminarTitleCost
1Communicating with Alien Life Forms1000
2Newtonian Flight1000
3Zero Gravity Sports3000
4Zero Gravity Sports3000
5Communicating with Alien Life Forms1000

 

ClassTimes

CourseIdChannelDayStartTimeEndTime
1Nuclear Holocaust Survival ChannelMon8:00 AM10:00 AM
1Nuclear Holocaust Survival ChannelWed8:00 AM10:00 AM
1Nuclear Holocaust Survival ChannelFri8:00 AM10:00 AM
2SpaceX Haskell ClubMon2:00PM4:00 PM
2SpaceX Haskell ClubWed2:00PM4:00 PM
3Tesla IntramuralSat11:00AM2:00 PM
4Tesla IntramuralSat4:00AM7:00 PM
5SpaceX Haskell ClubMon2:00 PM4:00 PM
5SpaceX Haskell ClubWed2:00 PM4:00 PM
5SpaceX Haskell ClubFri2:00 PM4:00 PM


They have the this relationship: 


When I tried to assign them to the Stacked Column Chart visualization, I got an incorrect revenue calculation for the “Communicating with Alien Life Forms” seminar:

 

The correct revenue amount for the “Communicating with Alien Life Forms” seminar should be $1000 from the Space X Haskell Club channel and $1000 from the Nuclear Holocaust Survival channel. If you add those values up, that would be $2000 in total revenue for the “Communicating with Alien Life Forms” seminar.  
 
Unfortunately, my visualization is not showing the correct values. Instead, my visualization shows the “Communicating with Alien Life Forms” seminar as collecting $2000 from the Nuclear Holocaust Survival Channel and another $2000 from the Space X Haskell Club channel for a total of $4000 in revenue. This is twice the total revenue of $2000 that is shown in the Courses table. 
 
How do I modify the Stacked Column Chart visualization to report the correct total revenue of $2000 for the “Communicating with Alien Life Forms” seminar? 

No RepliesBe the first to reply