Crystal reports expand detail option - layout

I am working on crystal reports and I need to know how to create the layout for the below issue:
I have a report as shown below
EmpNo EmpName Salary
101 Mark $10000
102 Jain $8000
My client is requesting an option to expand the salary which will show the detailed view of salary amount. something like, each salary amount will have Basic, DA, incentive, Tax, etc.
Is there any option we have to achieve this request?
Thanks

Create a boolean parameter to hide/show Details section named 'Hide Details'.
Group by the report by EmpNo
Create a suppression formula for the the Details section that reads:
//suppress the section if the parameter's value is true
{?Hide Details}

Related

What standard is the currency parameter

When I wanted to get the median price of an item on the steam market I came across this answer. It gets the lowest and median price of an item. The one thing I had trouble understanding which currency number corresponds with what currency and if so, which industry standard is used here.
This is an example URL:
https://steamcommunity.com/market/priceoverview/?appid=730&currency=3&market_hash_name=Tec-9%20%7C%20VariCamo%20(Minimal%20Wear)
In the documentation it says it is ISO 4217:
An optional ISO 4217 currency code. If specified, only prices for this currency need to be
But that's clearly not the case.
When I put in 1 as the currency parameter, I get dollar.
With 2 I get pounds.
And with 3 it responds with euro.
...
The max seems to be 41 with the Uruguayan Peso
All actual currency codes and other respective information about currencies on Steam can be found in global.js on https://steamcommunity.com/market/. Just open this page. Then open developer console and search for g_rgCurrencyData variable like on image below.
Location of g_rgCurrencyData variable
Besides codes there are info about formatting for each currency which is useful when you need to parse data from page or automate some actions.

Add x Days to a Date Based on vlookup Output Excel

What I'm trying to do is give a due date based on an input date, type of review, and department.
For example if the department is ABC and the review is retrospective, the due date will be the input date + 30 days.
But if the department is ABC and the review is concurrent, then the due date will be input date + 1 day.
I know I can concatenate the department and review into the vlookup table but I'm not so sure how to get the output to be the due date that I want.
Can anyone help?
EDIT:
Per the first answer below, I hashed out an input table with concatenated columns just in case I needed them. It is a bit more complicated than I originally thought.
Input table with date logic
I'd love to simply edit the source data but the report isn't readily available in the database. Could I still use the suggestions below?
Assuming you have a lookup table for the number of days to add depending upon the department and review type similar to the one below, you can use an INDEX/MATCH/MATCH and simply add it to the input date:
=$A2+INDEX($H$4:$J$5,MATCH($B2,$G$4:$G$5,0),MATCH($C2,$H$3:$J$3,0))
SOLUTION FOR AN ALTERNATIVE LOOKUP TABLE LAYOUT
If your layout table is more like as below, you can use a MINIFS formula (or MAXIFS if you would prefer):
=$A2+MINIFS($I$3:$I$8,$G$3:$G$8,$B2,$H$3:$H$8,$C2)

How to set if condition for formulas in excel?

How can I make an if statement in excel that will returns 999 if the A3 cell has this information (Your order qualifies for FREE Shipping Choose this option at checkout. See detail) otherwise print the number(for example for this information "This seller has only 3 of these available. To see if more are available from another seller, go to the product detail page" I would like to print 3). I attached what I've done by now. I will appreciate any help.
=IF(A2="Your order qualifies for FREE Shipping Choose this option at checkout. See detail",999,TEXTJOIN("",TRUE,IFERROR(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)*1,"")))

How to show most sold part numbers

I have large list of items sold and would like to be able to generate a report that shows the most sold items along with how many of each item has been sold.
I'm looking for something along the lines of =countif() but as there are so many unique part numbers I'm not sure how to do this.
To add to the confusion I'm making it so this report automatically generates by dumping the right info into certain worksheets and then running a macro written in vba.
Not asking for a step-by-step approach but maybe someone to point me in the right direction.
Thanks!
edit to show how data is organized:
PO# SO# Line Item Material# Description Order quantity Net Price Customer Created on
The same PO# and SO# will occur with multiple line items for each.
Create a PivotTable with Material# for ROWS and Sum of Order quantity for VALUES then filter for Top 10... .

Filtering a PivotTable by Boolean

The source data for my Excel PivotTable looks like the following (this is a simplification):
id name score
1 john 15
2 james 2
3 pat 14
4 jake 12
...
I have a PivotTable that uses this as a data source. Now, what I want to do is have the PivotTable only consider entries if their id is less than 100. This is theoretically achievable by having a Report Filter on id, and de-selecting any number greater than 100. But that's rather absurd.
How can I filter out data using a Boolean constraint? I've tried various methods, none of which worked. It seems like calculated fields are the key, but it doesn't seem possible to create a filter on calculated fields.
I'm using Excel 2011 for Mac, if that makes a difference. I'm a programmer, but I've never programmed in Excel, so if that's the solution, I'd request baby steps. :) Thank you!
AFAIK, In Excel 2011, you cannot use a report filter to apply any kind of filter. You have to manually check/uncheck the values that you want or don't want.
The alternative that I can think of is to insert a column before your data and enter the formula
=If(B2<100,TRUE,FALSE)
and copy it down using Autofill. (See screenshot below)
Now create a pivot and put the field "Less Than 100" in the report filter and simply select TRUE (See screenshot below)
If you don't want to go down that path then move the ID field to ROW LABEL from REPORT FILTER where you can use a filter.
A Report Filter is exactly what I would do, but rather than manually de-selecting the fields as you suggest you would do I would apply a Label filter to be less than the cut-off point, which in your example is 100.
I haven't used Excel on Mac, but on Windows on the PivotTable Field List, to the right of the id field click the little black arrow, and select Label Filters -> Less Than and then enter 100 in the dialogue that pops up.
Given the inherent value of PivotTables is the ability to apply filters exactly for this sort of scenario I don't think I'd do anything more complicated.

Resources