Best Of
Re: Top 25s etc. in Table cards
Another option might be to create a beast mode to rank each traveler and then use subtotals to collapse the rows for the travelers whose rank is greater than 25. Assuming you have a field named `Traveler` and a field named `Spend`, first create a beast mode called `Top 25 Ranking`
— Rank Each Traveler up to 25 and then place remaining in 26 CASE WHEN SUM(COUNT(DISTINCT `Traveler`)) OVER (ORDER BY sum(`Spend`) DESC) <= 25
THEN SUM(COUNT(DISTINCT `Traveler`)) OVER (ORDER BY sum(`Spend`) DESC)
ELSE 26
END
Place the Top 25 Ranking on the card, along with Traveler and Sum of Spend
Next, in the properties menu to go Subtotal Rows and select "Show subtotal rows" and "Suppress single item subtotals". By adding Subtotals you can now expand and collapse the Top 25 Ranking to hide the Travels who didn't make the Top 25.
Finally, when I tried this on some sample data I noticed that the subtotal for ranking #26 was summing up to be the same as the total so I created another beast mode called `Spend By Traveler` so that the spend numbers would subtotal correctly:
SUM(SUM(`Spend`)) OVER (PARTITION BY `Traveler`)
If this works for you then you should end up with a table that displays 26 rows, with the last row that can show/hide the travelers who didn't make the top 25. I was testing with a smaller dataset so I made a Top 5 version
Collapsed/Expanded Views:
Re: Custom Domo App (Replicating the SugarForce example)
@Mehdi This sugarforce tutorial has a section at the bottom to add proxy:
Re: Any tips on how to clean Typo's in a dataset?
@Joe_Pitcher I second @ggenovese's advice. I would also recommend adding validation rules to manual data sources whenever possible to prevent these data quality issues upstream. For example, if your data is coming from a spreadsheet then consider adding drop-downs and datatype validation in the spreadsheet so that the users are required to enter consistent values.
Re: Any tips on how to clean Typo's in a dataset?
No problem! The REPLACE() function would work inside of either a Magic ETL or in a Beast Mode inside of a card. The function will strip out the pipes "|" and replace with SPACE and strip out the periods "." and not replace those with anything.
If you want to go the ETL route you'd use an Add Formula tile, name it the same name as your Company Name column and paste the two replaces inside where the formula goes.
The process for a beast mode in a card is pretty similar, inside of Analyzer you would click "Create a Calculated Field" and create the Beast Mode. One thing to note however is that inside the card you would have to give it a different name because in this case you're creating a new field rather than overwriting an existing one as you would have in the ETL
Re: Any tips on how to clean Typo's in a dataset?
Thank you @ggenovese that has worked really well.




