Best Of
Re: Getting incorrect result while computing an output using Beast mode
When you’re filtering and including a and b your lag function will pull data from metric a and b. You’ll want to add PARTITION BY ` metric ` to your lag statements to make sure you’re not jumping metrics with the lag
Re: Multiple line graph with bar graph
It's a setting under the "General" Chart properties. You will need to have the two fields that you want to be lines added to your chart as the Y-axis and the first series. Then the bar field (or fields) can be put as the second (or third, etc.) series.
You want to indicate that there should be 2 series on the left scale
Re: How to Find Dataset ID for DomoStats People Dataset?
If you browse to the actual dataset you can see the specific ID in the URL in a GUID format.
https://instance.domo.com/datasources/a12cbf64-35d0-47bb-8567-ce7c87149a54/details/overview
Re: Domo Ideas Exchange - Beast Modes - First / Last Days of the Month / Week
Hi
Hopefully this is helpful...
I riffed on some of the other answers provided and came up with this which works for me to create a week commencing monday field
-- Author: -- Created: -- Last Modified: -- Description: Returns the previous monday date -- Use case for creating week commencing on Monday weeks CASE WHEN DAYOFWEEK(`Date`) >= 3 THEN DATE_SUB(`Date`, INTERVAL (DAYOFWEEK(`Date`) -2) DAY) WHEN DAYOFWEEK(`Date`) = 2 THEN `Date` WHEN DAYOFWEEK(`Date`) = 1 THEN DATE_SUB(`Date`, INTERVAL 6 DAY) ELSE -1 END
Re: How to compare Value Columns
@JackB116 I'd actually suggest changing your card from a Pivot Table to a Table chart type if you want to add calculations. You'd need to use beast modes for your 2022 and 2023 totals like this:
sum(case when `Delivery Year` = '2022' then `GDP Net` else 0 end)
Then your % difference calculation would look like this:
( sum(case when `Delivery Year` = '2023' then `GDP Net` else 0 end) - sum(case when `Delivery Year` = '2022' then `GDP Net` else 0 end) ) / sum(case when `Delivery Year` = '2022' then `GDP Net` else 0 end)
Re: How can I convert an Excel date code into a normal M/D/Y formatted date?
Hi @HowDoIDomo ,
So the start of that 4** date is Jan 1, 1900 so you need to create a column in an ETL with that Date and then add your number of days to that date. I made a video for you to see:
John Le
You're only one dashboard away.
More video solutions at: https://www.dashboarddudes.com/pantry
Re: Numbers disappearing on bar charts with small bars
I thought that there was an option to show even when overlapping, but I am not positive if that would assist in this instance. If this is not available, I would suggest taking this to the Ideas Exchange to get this upvoted to be implemented as product enhancement. Here is a link to the page:
AKnowles
Re: sum the value by week and display first/last day of week instead of week no. on x axis
MichelleH Thanks for the response. I think a beast mode like below is able to solve the problem, along with the options you have suggested.
DATE_ADD(`date_id`, INTERVAL (8- DAYOFWEEK(`date_id`)) DAY)



