cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarioCadena
Helper II
Helper II

How to exclude blank values in a summarize table

Good morning Community,

 

I have a dataset that contains changes of dates for items,

MarioCadena_0-1630634852360.png

I have created a summarize table that contains the earliest and latest dates based on the updated date column.
When working on "Ready to Ship" column, I am using the following

"Earliest RTS",
CALCULATE (
MIN( 'Active Orders'[Ready to Ship]),
FILTER (
ALL ( 'Active Orders'[Update Date] ),
'Active Orders'[Update Date] = MIN ( 'Active Orders'[Update Date] )
)
),
but I get the blank value.
 
Do you know how I can ignore the blank values.
 
Thank you



1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @MarioCadena ;

Since I am not very clear about your table structure and the result you want to output, I have tested it according to your DAX and can try to change it to:

Earliest RTS =
CALCULATE (
    MIN ( 'Active Orders'[Ready to Ship] ),
    FILTER (
        'Active Orders',
        [Update date]
            = CALCULATE (
                MIN ( [Update date] ),
                FILTER ( 'Active Orders', [Ready to Ship] > BLANK () )
            )))

The final output is shown below:

vyalanwumsft_0-1630916703733.png


Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @MarioCadena ;

Since I am not very clear about your table structure and the result you want to output, I have tested it according to your DAX and can try to change it to:

Earliest RTS =
CALCULATE (
    MIN ( 'Active Orders'[Ready to Ship] ),
    FILTER (
        'Active Orders',
        [Update date]
            = CALCULATE (
                MIN ( [Update date] ),
                FILTER ( 'Active Orders', [Ready to Ship] > BLANK () )
            )))

The final output is shown below:

vyalanwumsft_0-1630916703733.png


Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

Share some data, describe the question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors