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.
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
SKUs | Ordered Unit | Est Receive Date |
A | 10 | 7/10 |
A | 10 | 7/20 |
B | 80 | 7/25 |
B | 10 | 7/30 |
I want to show the date in the table when receive rate hit 50% n 70%.
Result:
SKUs | Ordered Unit | 50% date | 70% date |
A | 20 | 7/10 | 7/20 |
B | 90 | 7/25 | 7/25 |
Solved! Go to Solution.
@Anonymous
pls see the attachment below
Proud to be a 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]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@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]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |