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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors