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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Priscila_Gr
Frequent Visitor

Average days in Phase

I have the tablex with the columns date (daily), name_id and phases. Each row corresponds a day, name_id and phase. I would like to create a measure that counts how many days on average a name_id stays in a phase (important to calculate just for the ones who have more than one phase registered).

In the sample bellow it should calculated for name_id  "d567" from the phase "Middle" until the first day "Premium" appears.

Capture.PNG

Thank you 

5 REPLIES 5
FreemanZ
Super User
Super User

hi @Priscila_Gr 

average can be very different. please help post some sample data with expected result to help those who might help you. 

Thank you. I edited 

hi @Priscila_Gr 

Great. And what about the result? How will it look like?

In this case 2 days, so 2 as result. When I have several name_id that progressed badges the average time among them

hi @Priscila_Gr 

not sure if fully get you, you may try to plot a visual with name and phase column with a measure like:

FreemanZ_1-1677759145133.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors