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
Theasianmenace
Frequent Visitor

Specific group of dates as a metric

Hi Community!

 

I'd like to ask if it is possible for you to group custom dates for an evaluation metric.

Value: A range of dates in March

 

How many days it takes to do a given task.

For example:

  1. 0-5 days
  2. 6-10 days
  3. 11-15 days
  4. 16-30 days
  5. 31-60 days

I've worked on trying to group with a DAX calendar or using filtered slicers, but I would like to ask if anyone can provide a more robust solution.

 

Many thanks!

1 REPLY 1
Anonymous
Not applicable

Just to first clarify.  Is your grouping to do with the turn around time of the task itself?  I.e. is it independant of the date it completes and is all about having your value fall into a group based on the End-Date minus the Start-Date?

 

If so, create a column which is the TurnAround Time (TAT) in days.  Next create another column with a SWITCH condition that does the check of the TAT result and then records on of the string groups you had listed.

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.