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

Help with measure

Hi community!

 

I'm needing help with a measure.

 

I have to make a count of all the rows that in an specific measure have >60 as value.

 

Let me show you:

Sin título.png

The measure "Cob>60" shows 1 when "Cobertura Días" is > 60. The idea, is have a count of all the "Cobertura Días" that are > 60 like shown in the header of the report (482). That number is wrong.

 

How should I make this measure to make a count of "Cobertura Días" when its > 60?

 

Thanks in advance.

6 REPLIES 6
Omega
Impactful Individual
Impactful Individual

Try: Countrows (Filter (TableName, Cobertura Días > 60))

Anonymous
Not applicable

Hi everyone! Thanks for the help and replies so far.

 

At this point, the measure looks like this:

 

Count Cobertura > 60 = 
COUNTROWS(
    FILTER(
        'FctInventarioBSC';
        [Cobertura Prod MPH] > [TargetCalc]
    )
)

This measure works fine in the next context:

 

Sin título3.png

 

But in this next context it does not work as expected:

Sin título2.png

 

As you can see, the measure is only counting does that do not have a second "Id Prod Compañía".

 

What change should I make to the measure to make it work in this cases?

 

Thanks in advance.

 

Anonymous
Not applicable

@Anonymous,

Could you please share sample data of your table and post the expected result here? You can share the data via Private Message.

Regards,
Lydia

Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

May be Something like this

 

Measure =
COUNTX (
    FILTER ( ALLSELECTED ( TableName[ID Product Compania] ), [Cobertura Días] > 60 ),
    [Cobertura Días]
)
Anonymous
Not applicable

Hi @Zubair_Muhammad, thanks for your fast reply.

 

Unfortunately, that measure did not work for me.

 

Is there some info that you need to help clarify?

Anonymous
Not applicable

@Anonymous,

Would you please share dummy data of your original table and post the expected result here?

Regards,
Lydia

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors