Scorecard First and Last shows same value..
I have this scorecard with Current and previous values and I am good to show change....
Challenge: One filter selection has no previous value and because of that, I only get one value and the card shows the same value for first and last in the scorecard....
Any tip how do i deal with this? May be a way to make sure it brings 2nd row with 0 or something
Answers
-
Because Domo is looking for a first and last value in your dataset when you have only one that value is simultaneously the first and the last value. Use an ETL to add in a 2nd row with the value you want to include. You'll need to decide how you want to handle the % change since the initial value doesn't exist in your case.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
We have so many combinations that may not have previous row.. Inserting dummy row is not good idea.. Can domo scorecard just not consider change and only show Current or first value and show 0 change…
0 -
@faisalnjit In the Chart Properties - Change Value Options you can set some actions for No Data Handling and No Data Message. Try setting that to different settings to get the result you are looking for.
**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 -
@faisalnjit What if you used a Comparative Change chart instead so it's easier for the people interacting with the scorecard to see when there is no previous value? You can set up two beast modes for your current and previous value:
sum(case when `Period Comparison` = 'Previous' then `Visits/TimePeriod` else 0 end)
sum(case when `Period Comparison` = 'Current' then `Visits/TimePeriod` else 0 end)
1 -
@faisalnjit - I don't believe the no data handling will apply here. That would only impact a filter selection with no values.
If you are always comparing YTD sales to the prior year, I would consider using the "Multi-value Columns" chart. You can then create two calculated fields:
YTD Sales
SUM(CASE WHEN YEAR(`Date`) = YEAR(CURDATE()) AND DAYOFYEAR(`Date`) < = DAYOFYEAR(CURDATE()) THEN `Visits` ELSE 0 END)
Prior YTD Sales
SUM(CASE WHEN YEAR(`Date`) = YEAR(CURDATE())-1 AND DAYOFYEAR(`Date`) < = DAYOFYEAR(CURDATE()) THEN `Visits` ELSE 0 END)
Then plug those in as your gauge value and comparison value
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 710 Beast Mode
- 50 App Studio
- 39 Variables
- 668 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 116 Manage
- 113 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive