Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

DAX Measure to run Percentiles 25 and 75 in a set of rows grouped by weekDay and Hour

I have a table in Power BI called Registration. The table has the following columns: timestamp, weekDay, Hour, events_failed. timestamp is the timestamp column, weekDay is the name of the day in the week like "Sunday", "Monday", "Tuesday", etc. Hour has the hour of the events and Hour goes from 0 to 23. 'events_failed' column is of data type integer and hold the number of events that has failed at that Hour. However, I can have many rows in a single Hour as there are other But here is the tricky part: I want to calculate percentile 25 of every group combination of weekDay and Hour. Example: percentile 25 for all 'Tuesday' at Hour 16, and following along the same way for all combinations of weekDay & Hour. In summary, I want to write a Measure in DAX that calculate the percentile 25 of 'events_failed' for all different combinations of groups of weekDay and Hour. I want the results in a new table called Percentiles with the following columns: weekDay, Hour, Percentiles_25, Percentiles_75.

1 REPLY 1
Anonymous
Not applicable

Hello @Anonymous can you show a small sample of data and expected result

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.