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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
shabirAhmad
Helper II
Helper II

Issuance and Reciept Inventory from inventory Table

Hi Experts,

 

I have InventTrans Table and in that table there are 2 columns 1 field StatusIssue 2 StatusReceipt. Now if the StatusIssue  is == Sold this will show me Issuance and if  the field is StatusReceipt is == Purchased it will be Reciept now how can i get this.

 

 

Best Regards,

Shabir Ahmad

6 REPLIES 6
shabirAhmad
Helper II
Helper II

shabirAhmad_0-1692353601160.png

 

Hi Prakeet,

output should be

 

Issuance / SoldReciept / Purchased
  
  

 

Best Regards,

Shabir Ahmad

 

Hi @shabirAhmad ,

 

Prateek's solution is perfect based on your 1st explaination. Problem which i see with your explaination is that you have 2 comparative values but you are expecting 3 outputs. can you please explain. there is something that you couldnt put in your question. 
if you want an output like this, then prateeks solution is the most appropriate. 

Waqas_BIspecs_0-1692355761086.png

if this is not your output table,  then please provide table layout you are looking for with the fields filled as we did, fill it the output values as well please. 

we all are here to help 😐

 

Prateek97
Resolver III
Resolver III

Hi @shabirAhmad ,

 

You can use following:

 

Flag = IF([StatusIssue]="Sold","Issuance",
                     IF([StatusIssue]="Purchased","Receipt",

                              "NA"))

 

Please mark this as solution if it solves your problem 🙂

 

Hi Prateek,

 

Thanks for your reply, actually there will be 2 fields in Report 1 field showd show Inventory Issuance and another field will show inventory Receipt.That means issuance field should show inssuance(Status::Sold) and Reciept field should show (Status::Recipt) reciept in report.

 

Best Regards,

Shabir Ahmad

Hi @shabirAhmad ,

 

Can you please give the table structure and the sample output in a table format. That would help to understand the issue better

 

 

Hi Prateek

 

shabirAhmad_1-1692354224330.png

 

 

output should be in report like this as below

 

shabirAhmad_0-1692354130352.png

 

Helpful resources

Announcements
Top Solution Authors
Top Kudoed Authors