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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.