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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.