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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Return the date of a table when condition is hitted

Hi, I am new to PowerBi.

Previously I use excel formula to create a table to forecast the 50% & 75% receive rate by Match & Index.

I want to know how can I do the same in PowerBI.

 

I have a list of data like below

SKUsOrdered UnitEst Receive Date
A107/10

A

107/20
B807/25
B107/30

 

I want to show the date in the table when receive rate hit 50% n 70%.

Result:

SKUsOrdered Unit50% date70% date

A

207/107/20
B907/257/25
2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@Anonymous 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Fowmy
Super User
Super User

@Anonymous 

Use two measures:

50 % = 
var __50 = SUM(Table1[Ordered Unit]) * .5
return
    MINX(
        FILTER(
            ADDCOLUMNS(
                SUMMARIZE( Table1 , Table1[SKUs] , Table1[Est Receive Date] ),
                
                "Cumm" , CALCULATE( SUM(Table1[Ordered Unit]) , FILTER( ALLSELECTED(Table1[Est Receive Date]), Table1[Est Receive Date] <= EARLIER(Table1[Est Receive Date] )))
            ),
            [Cumm] >= __50
        ),
        Table1[Est Receive Date]
    )
70 % = 
var __70 = SUM(Table1[Ordered Unit]) * .7
return
    MINX(
        FILTER(
            ADDCOLUMNS(
                SUMMARIZE( Table1 , Table1[SKUs] , Table1[Est Receive Date] ),
                
                "Cumm" , CALCULATE( SUM(Table1[Ordered Unit]) , FILTER( ALLSELECTED(Table1[Est Receive Date]), Table1[Est Receive Date] <= EARLIER(Table1[Est Receive Date] )))
            ),
            [Cumm] >= __70
        ),
        Table1[Est Receive Date]
    )

Fowmy_0-1626765968434.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@Anonymous 

Use two measures:

50 % = 
var __50 = SUM(Table1[Ordered Unit]) * .5
return
    MINX(
        FILTER(
            ADDCOLUMNS(
                SUMMARIZE( Table1 , Table1[SKUs] , Table1[Est Receive Date] ),
                
                "Cumm" , CALCULATE( SUM(Table1[Ordered Unit]) , FILTER( ALLSELECTED(Table1[Est Receive Date]), Table1[Est Receive Date] <= EARLIER(Table1[Est Receive Date] )))
            ),
            [Cumm] >= __50
        ),
        Table1[Est Receive Date]
    )
70 % = 
var __70 = SUM(Table1[Ordered Unit]) * .7
return
    MINX(
        FILTER(
            ADDCOLUMNS(
                SUMMARIZE( Table1 , Table1[SKUs] , Table1[Est Receive Date] ),
                
                "Cumm" , CALCULATE( SUM(Table1[Ordered Unit]) , FILTER( ALLSELECTED(Table1[Est Receive Date]), Table1[Est Receive Date] <= EARLIER(Table1[Est Receive Date] )))
            ),
            [Cumm] >= __70
        ),
        Table1[Est Receive Date]
    )

Fowmy_0-1626765968434.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

ryan_mayu
Super User
Super User

@Anonymous 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.