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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.