Best Of
allow users to duplicate (save as) locked cards
Hello,
My goal is to have published reports be locked down, but accessible to users to manipulate unofficial copies of them.
I would like to lock pages and cards so that only a users assigned to a group that owns the card or page (or is an admin) can edit them, but want all users with a user role that allows them to edit cards to be able to duplicate (save as) the card to their own overviews so that they can manipulate them. does anyone know if this is possible? this resource suggests that it might not be possible.
I need to be able to prevent changes to official cards and pages, but want users to be able to interact with the content.
Re: Performance of private embedding
Thanks for your suggestions. Yes we had cached the access token and that does improve things a bit but on the second call the authentication is slightly quicker anyway.
The dataset is quite large but the board is much faster when accessed within the instance itself. Possibly the programmatic filtering slows down the load when embedding?
I think we'll lazy load it like you have suggested and then make it visible (hopefully can force the cards to refresh when we do this). I also hope the cards all render ok in an hidden iframe. Worth a try though.
I think we are in the same aws region as the domo instance.
Thanks again.
Re: Identify Null Roll-Ups in a Pivot Chart
Here is a tutorial put together by @MarkSnodgrass with filling in missing dates.
Confused about the difference between pages, dashboards, and Domo Stories
Hi,
I can create a new page from the "manage pages" menu.
I can also use this other menu to create a Dashboard, which will also appear in the page listing:
I can also take a regular already-existing page and click on "Design Dashboard", which the docs say it will create a "Domo Story":
What's the difference between a Page, a Dashboard, and a "Story" created through "Design Dashboard"?
Are "Stories" full-blown dashboards, or are they something else?
(Edited to remove some incorrect paragraph about "filter views".)
Re: Calculating a % based on multiple dates
SUM(IFNULL(DATEDIFF(CURDATE(), 'Start Date'), 0)) / NULLIF(SUM(IFNULL(DATEDIFF('End Date', 'Start Date'), 0)), 0)
Re: Calculating a % based on multiple dates
A couple of questions:
- What is the answer you would expect to get when a Campaign has no start date?
- What should be the answer when a campaign has no end date?
In your dataset, what is the level of granularity you have? If this is a campaign level dataset, then a formula to cover the out of bond scenarios (no start date, not yet started, no end date and already ended) first, and then operate at the row level is likely best:
CASE WHEN `StartDate` IS NULL THEN 0 WHEN `StartDate` > CURDATE() THEN 0 WHEN `EndDate` IS NULL THEN 0 WHEN `EndDate` < CURDATE() THEN 1 ELSE ROUND(((UNIX_TIMESTAMP(CURDATE())-UNIX_TIMESTAMP(`StartDate`))/86400)-0.5,0)/ROUND(((UNIX_TIMESTAMP(`EndDate`)-UNIX_TIMESTAMP(`StartDate`))/86400)-0.5,0) END
You could try with DATEDIFF but that one is known to behave oddly sometimes, so the UNIX diff is often preferred and more reliable, feel free to try both.
Re: Question on Expanding Data to Display Unique Values
You can do this within a Magic ETL.
If you do something like this:
This will do a cartesian join between the list of years and your dataset and then filter the records where the year is in between your original start and end years. Add formula is adding a new column called Join Column with a value of 1 for the join.
I've attached a JSON file with the definition (minus the input and output datasets) so you can copy the contents and then control+v/command+v/paste them into your Magic ETL canvas.
Re: Can I change the color on a running total line for future months?
You can do a running total with a beast mode with a conditional add instead of using the running total on the card.
CASE WHEN `Date` < CURRENT_DATE() THEN
SUM(SUM(`Sales`)) OVER (PARTITION BY YEAR(`Date`) ORDER BY `Date`)
END
This will exclude any future dates today and beyond so you only have a line for the months provided.







