Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
I have two cloumns, "Resolution per hour" and "Incident_ID". I need to create a measure to count number of incident within each
time intervals (0 - 1 Hour, > 1 Hour & <= 2 Hours, > 3 Hour & <= 4 Hours, ..etc), then i need to calclate the percentage of each time intervals/ total of incident.
>> count (incident_Id), where(Resolution per hour= 0 - 1 Hour, > 1 Hour & <= 2 Hours, > 3 Hour & <= 4 Hours) / total count of incident_id
i tried to use dax contains earlier function, but seems this dose not work. any help please?

Thanks,
Faten
Sorry i deleted the table by mistake !
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |