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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
umeshpatil1
Regular Visitor

wants to write fourmula for usage details to mailtain stock

BCDE FGHIJ
DateMaterialQtyUsed DateMaterialQtyUsedIN Stock
5/18/2021Tube105 5/13/2021Tube10 100
5/15/2021fan101 5/15/2021fan10 82
5/16/2021LED102 5/16/2021LED10 46
5/18/2021Tester105 5/18/2021Tubes10  
5/20/2021Screw104      

In B column i have used max date formula hence it will check & bring the max date in B column from F & G column. If i have purchased tues on 5/13/2021 10 Qty which i have used, again on 5/18/2021 i putchased 10 tubes in that case i want to campair date material detail with B & C with F& G if match  then i want E data to be print in I column....

5 REPLIES 5
umeshpatil1
Regular Visitor

Hi Yingjie Li,

Thanks for the replay,

I want to keep inventory stock material track. In above data column B,C,D and E i am making entry of purchased details. Column F,G and H is other (2nd work sheet) sheet here i am taking max (last material purchased details ) date data from 1st sheet in F column, material detail in G column and Qty H column. and in 3rd sheet i am entrying daily usage details when i put new entry it will check material detail and it will add that Qty in 2nd sheet I column.

If all tubes which i have purchased on 18th may 2021 (row 3) are used then when i when i purchase new tubes of 20 Qty then i will make entry in 1st sheet in that case in 2nd sheet its taking max date purchased tube details (applied max farmula) now i want to match 2nd sheet date,material name and take the used Qty from 2nd sheet & put it in 1st sheet used column E.

Hi @umeshpatil1 ,

I'm still confusing about the I column result in table 2, how did you want to get that, could you please consider combine a specific row like fan, LED for a further explanation so that members in the communtiy could help you better.

 

Best Regards,
Community Support Team _ Yingjie Li

v-yingjl
Community Support
Community Support

Hi @umeshpatil1 ,

Based on your description, not certain what is your expected output. Have all of these columns from the same table and have the same column name?

 

Could you please consider sharing more details about it for further discussion? Sample data and expected output would help tremendously.


Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Date Material Qty Old Stock Used In Stock
13-May-2021 Water Solar Heater Vacuum Tube 10 0 10 10 0
13-May-2021 58MM Silicon Washers. 10 0 10 0 10
15-May-2021 Water Solar Heater Vacuum Tube 10 (Take F2 value) (C4+D4) 2 8
18-May-2021 Water Solar Heater Vacuum Tube 20 (Take F4 value last date stock value) (C5+D5) 0 28

 

Date(column A) Material (column B) Qty (column C) Old Stock (column D) Used (column E) In Stock (column F)

13-May-2021 Water Solar Heater Vacuum Tube 10 0 10 10 0
13-May-2021 58MM Silicon Washers. 10 0 10 0 10
15-May-2021 Water Solar Heater Vacuum Tube 10 (Take F2 value) (C4+D4) 2 8
18-May-2021 Water Solar Heater Vacuum Tube 20 (Take F4 value last date stock value) (C5+D5) 0 28

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.