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
Pbiuserr
Post Prodigy
Post Prodigy

How to get rid of first row in that calculation?

Hello, 

I would like to get rid of first row (equipment which have no assigned date from them) out of calculation [Number of Distinct EQ by prod date], so start counting from Jan2010 (capture1), as for instance SQL is doing (capture 2)

 

My current measure is:

distinct EQ by prod date =
CALCULATE (
    [Number of distinct EQ],
    FILTER (
        ALL ( 'date' ),
        'date'[Date] <= MAX ( 'date'[Date] )
    )
)
Pbiuserr_0-1679990623310.png

 

Pbiuserr_1-1679989644292.png

 

Any ideas?

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @Pbiuserr ,

 

You could remove the blank from the Monthyear column from the filter pane.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Hey

Will it change the calculation also?

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.