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
Anonymous
Not applicable

Count Metric categories above a threshold

Hi Experts, 

 

I'm working on a KPI monitoring dashboard and I would like to calculate the number of metrics in a each category that have more than a 30% increase QoQ. I tried using a indicator in the first table below to show if there was a metric change greater than 30% QoQ, but that doesnt translate into the category (2nd table) when I create another view. These views would be filtered with a quarterly filter.

 

The % increase field below is a measure that looks like this:

 

Average of Metric Value QoQ% =
IF(
    ISFILTERED('Sheet1'[Date]),
    ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."),
    VAR __PREV_QUARTER =
        CALCULATE(
            AVERAGE('Sheet1'[Metric Value]),
            DATEADD('Sheet1'[Date].[Date], -1, QUARTER)
        )
    RETURN
        DIVIDE(AVERAGE('Sheet1'[Metric Value]) - __PREV_QUARTER, __PREV_QUARTER)
)

 

The data looks like this:

CategoryMetric% increase
PeopleNew Hires10
TechnologyNew Systems Implemented32
CultureWhistleblower Complaints45
CultureNumber of Trainings completed16
PeopleTerminations35

 

The table im trying to create would then look like this:

 

Category# of Metrics above 30%
People1
Technology1
Culture1

 

Any guidance would be much appreciated! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I figured it out... 

 

Measure = countx(values(Sheet1[Metric Name]),if([Average of Metric Value QoQ%]>=.3,1,if([Average of Metric Value QoQ%]<=-.3,1,blank())))

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I figured it out... 

 

Measure = countx(values(Sheet1[Metric Name]),if([Average of Metric Value QoQ%]>=.3,1,if([Average of Metric Value QoQ%]<=-.3,1,blank())))

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.