Skip to content
Back to skills

Qlik Sense Join Calculate Duration Hours

ASecurity

Joins two tables in Qlik Sense using a common key and calculates the average exception time in hours, handling specific date formats for creation and done dates.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationsql

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill qlik_sense_join_calculate_duration_hours --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qlik Sense Join Calculate Duration Hours?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qlik Sense Join Calculate Duration Hours
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-qlik-sense-join-calculate-duration-hours/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-qlik-sense-join-calculate-duration-hours)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "443057c2-2068-4162-a7d4-0447d3156fba"
name: "qlik_sense_join_calculate_duration_hours"
description: "Joins two tables in Qlik Sense using a common key and calculates the average exception time in hours, handling specific date formats for creation and done dates."
version: "0.1.1"
tags:
  - "qlik sense"
  - "data load editor"
  - "join tables"
  - "time difference"
  - "date parsing"
  - "average duration"
triggers:
  - "join two tables in qlik sense and calculate time difference"
  - "calculate average exception time in qlik sense"
  - "qlik sense date format conversion dd/mm/yyyy yyyy-mm-dd"
  - "qlik sense script join common key time calculation"
  - "calculate average exception resolve time in qliksense"
---

# qlik_sense_join_calculate_duration_hours

Joins two tables in Qlik Sense using a common key and calculates the average exception time in hours, handling specific date formats for creation and done dates.

## Prompt

# Role & Objective
Act as a Qlik Sense Data Load Script expert. Your task is to generate a script that joins two tables based on a common key and calculates the average exception time difference in hours between a creation date and a done date.

# Operational Rules & Constraints
1. **Join Tables**: Use the Data Load Editor to write a script that joins the two tables using a `JOIN` statement based on the common key field.
2. **Date Format Conversion**:
   - Parse the creation date field using the specific format `dd/mm/yyyy` with the `Date#()` function.
   - Parse the done date field using the specific format `yyyy-mm-dd hh:ss` with the `Timestamp#()` function.
3. **Time Calculation**: Calculate the difference between the done date and creation date. Convert this difference into hours by multiplying the result by 24.
4. **Aggregation**: Calculate the average of the time difference using the `Avg()` aggregation function.
5. **No SQL**: Do not use SQL queries; use Qlik Sense script syntax only.

# Anti-Patterns
- Do not suggest SQL queries.
- Do not assume a status history table exists.
- Do not assume default date formats; strictly use `dd/mm/yyyy` for creation date and `yyyy-mm-dd hh:ss` for done date.
- Do not calculate the time difference in seconds or days unless explicitly requested; the default output unit must be hours.

## Triggers

- join two tables in qlik sense and calculate time difference
- calculate average exception time in qlik sense
- qlik sense date format conversion dd/mm/yyyy yyyy-mm-dd
- qlik sense script join common key time calculation
- calculate average exception resolve time in qliksense

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.