Updated version that fixes the cause codes displayed in the "Top Alarms" bar chart and table views. You can also just make the changes instead of uploading a new dashboard:
In the Top Alarms bar chart view, change alarminfo.model_h to alarminfo.cause:
SELECT
count(alarminfo.alarm_title_id) as "Count",
alarmcondition.condition_name,
alarmtitle.title,
hex(alarminfo.model_h) as "PCauseCode"
FROM reporting.alarminfo alarminfo
INNER JOIN reporting.landscape landscape
to
SELECT
count(alarminfo.alarm_title_id) as "Count",
alarmcondition.condition_name,
alarmtitle.title,
hex(alarminfo.cause) as "PCauseCode"
FROM reporting.alarminfo alarminfo
INNER JOIN reporting.landscape landscape
Similar in the Top Alarm table view:
SELECT
count(alarminfo.alarm_title_id) as "Count",
alarmcondition.condition_name,
alarmtitle.title,
hex(alarminfo.model_h) as "PCauseCode"
FROM reporting.alarminfo alarminfo
INNER JOIN reporting.landscape landscape
ON alarminfo.landscape_h = landscape.landscape_h
to
SELECT
count(alarminfo.alarm_title_id) as "Count",
alarmcondition.condition_name,
alarmtitle.title,
concat("0x",hex(alarminfo.cause)) as "PCauseCode"
FROM reporting.alarminfo alarminfo
INNER JOIN reporting.landscape landscape
ON alarminfo.landscape_h = landscape.landscape_h
This gives us not only the correct cause code but provides the familiar 0x prefix for hex values. Enjoy!