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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 731 Beast Mode
- 55 App Studio
- 40 Variables
- 682 Automate
- 175 Apps
- 451 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 122 Manage
- 119 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 107 Community Announcements
- 4.8K Archive