This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
subject : How to Implement User-Defined Input Parameter for Target Processing Time in Power BI direct query mode
Hello Power BI Community,
I need help creating a user-defined input parameter in Power BI to calculate target processing times for issues. Users should be able to set a value X (in days), which will be used to determine if issues meet the target processing time.
### Key Requirements:
- Users set X via a slicer.
- TargetValue = X * 8.5 * 60 (minutes).
- Calculate processing time in minutes.
- Determine if processing time meets the target:
DAX
AchieveTarget = IF([TotalProcessingTime] <= [TargetValue], "Achieve", "Not Achieve")
- Exclude non-working hours (Monday to Friday, 8:00 AM to 4:30 PM) in processing time calculations.
### Example Data:
| Status | Issue No | Issue Created Date | Close Date | Processing Time | Achieve Target |
|--------|-----------|----------------------|---------------------|--------------------------|----------------|
| Closed | 12345 | 2024-03-11 09:00 | 2024-03-12 12:00 | 1020 mins | Achieve |
| Open | 12346 | 2024-03-11 11:00 | - | 1440 mins (up to now) | Not Achieve |
### Need Help With:
Thank you for your assistance!
Solved! Go to Solution.
Hi @Rockz
To create an unlinked slicer go Modeling -> Numeric range:
Enter the min and max days they can choose, I've called my new column Day Slider:
This createds a table with a measure capturing what is chosen in the slider.
Create a new measure referencing that measure (right click the table and choose new measure:
TargetValue =[Day Slider Value] * 8.5 * 60 (minutes)
If you don't have the ProcessingTime column in your data it would be:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @Rockz
To create an unlinked slicer go Modeling -> Numeric range:
Enter the min and max days they can choose, I've called my new column Day Slider:
This createds a table with a measure capturing what is chosen in the slider.
Create a new measure referencing that measure (right click the table and choose new measure:
TargetValue =[Day Slider Value] * 8.5 * 60 (minutes)
If you don't have the ProcessingTime column in your data it would be:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 45 | |
| 26 | |
| 24 |