How can I achieve this line chart
Hi,
My data looks like this.
My board has a filter for Team.
When the user selects a team , e.g. Team A, I want a line graph by month displaying the following for each month.
A line for the values for Team A, 5, 5
A line for the values for the region Team A belongs to (so in this case East, = 5+6 Jan, 5+4 Feb.
How can I achieve this with a fixed by? or should I use segments?
Thanks
Best Answer
-
It seems to that the team/region/country cards would be on such different scales that they wouldn't be that useful to have all on the same card. The simplest implementation would be 3 different line graph cards, one using "Team" for its series, one using "Region" for its series, and one using "Country" for its series. You could add a filter card for "Team", which will filter all three cards. I would recommend checking the "show single series legend" option.
(You would need a Fixed/filter deny for the region/country cards)
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0
Answers
-
Segments would be the easiest to implement since you can base it on region, but you would likely have to create a segment for each region and they will always be showing.
I think you will have better luck if you use a variable for your team selection instead of a filter. You can then build a beast mode that is for your team line and another beast mode that is for your region line and you will only have two lines.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
Actually, a fixed function might be easier your region total fixed function would look like this:
SUM(SUM(
Value
)) FIXED(BYRegion
FILTER DENYTeam
)**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
@MarkSnodgrass thanks but this is an example data set and in reality Team consists of hundreds of records so needs to be a filter based on the data from the set.
I don't think that fixed function would work would it? The line chart is grouped by months and not Team so would essentially sum up everything ignoring the fixed by.
Is there any other way of visualising this perhaps?
They want to choose a team via a filter and then see the values for region and country all by months but for the fixed by to work the chart/visual will have to group by team.
ordinarily we'd write a snippet of sql in 2 mins to see this in our own js charts…
This is basically what I need put into a line chart. This is using fixed by month and region and month and country both with a deny on Team.
0 -
It seems to that the team/region/country cards would be on such different scales that they wouldn't be that useful to have all on the same card. The simplest implementation would be 3 different line graph cards, one using "Team" for its series, one using "Region" for its series, and one using "Country" for its series. You could add a filter card for "Team", which will filter all three cards. I would recommend checking the "show single series legend" option.
(You would need a Fixed/filter deny for the region/country cards)
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0 -
@DavidChurchman thanks, yes I think this will be the only way.
This is just sample data but in my actual data the values are % increase on LY so it would be absolutely best to have on one card. (something we can easily produce with a snippet of sql and fusioncharts lib) so is very frustrating this can't be done.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive