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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.