Crystal Reports X CurrentDate in empty field - crystal-reports-xi

I am trying to create a Crystal Report that will show the Average days to pay for a customer. But if the customer hasn't paid, then i want the report to assume that the customer paid today. The trouble i am having is my data returns the unpaid stuff as blank. how and where can i put a formula that will put the Current Date (Date report is run) in the empty Date field?

When Unpaid stuff is blank then display current date using the If formula

Related

How do I get the nearest past date in a range for each entry in another list?

I collect customer feedback for my education business and add it to a Google Sheet. The feedback data has a submission date (A2:A) and some satisfaction metrics, which I visualize in a Google Data Studio dashboard.
The problem is that I want the feedback per cohort, but not everyone fills in the feedback form on the same day. I have a list of all courses with their respective dates (Cohorts!A2:A), and I want to assign each feedback submission to their respective cohort in a new column. It would be nice to also match it to the specific course type and country, but for now matching the cohort date would suffice.
I've tried using VLOOKUP and ARRAYFORMULA to go through the feedback dates and get the nearest past date to take it as the "course date" for that student. All the solutions I've tried either only take a single date or TODAY as a reference, but I have a whole list I'd like to fill in.
From my understanding, you are trying to round the timestamp, then match it to your course table?
To round a timestamp to a date:
=INT($A2)
When doing lookups like you're describing, I frequently end up calculating the nearest week as well - this formula returns the Sunday of the week start. Figured it might be helpful.
=text($A2+CHOOSE(WEEKDAY($A2),0,-1,-2,-3,-4,-5,-6),"m/d/yyyy")

How can I get the reports by campaign and with date

I am getting the reports from the Adwords API. The formate is CampaignID, AdgroupID, Impressions, Clicks, Date.
I want to get the reports for only one campaign and the reports records should be ordered with date.
At least is there a way to get the reports for a particular campaign only.
You can pass the campaign id as a predicate (a filter) to get data from just one campaign.

Select Firebase database on today date and month range

Hello. I am working on Ionic and Firebase as backend. I want to list items based on current date and also based on date range (upto a month, 3 months etc). Additionally, I also want to generate 'Total' of incomeAmount on that specific date as well as total quantity of items added on the same day.
I tried using firebase query but I am unable to retrieve the data as per the specific date range
Any help shall be super awesome!
Finally solved it by using Moment. changed the date format to moment().format('YYYY-MM-DD') and saved the data on firebase under that date. Further looping with forEach to get the total
Hope it helps someone else too

Google Sheets Financial API - dates are wrong

I'm using Google Sheets for tracking my mutual funds portfolio, and I'm supposed to call the function below to get the timestamp of the most recent change of the VASIX fund share price:
=GOOGLEFINANCE("VASIX", "date")
The problem is that the date, returned by this function, is typically two-three days late.
What might be wrong here?
GOOGLEFINANCE("VASIX", "date") returns The date at which the net asset value was reported. For mutual funds this is at market close on trading days. So, for example, Sat. would show the market close on Fri. The date won't change again until Tue. when Mondays NAV is reoported. Try =GOOGLEFINANCE("VASIX", "close","8/25/2017") requesting specific dates over a weekend through Tuesday to see what is happening.

How to divide group of field with another group of fields in Crystal Reports graphs?

I am creating a Crystal Report which consist of a graph. As I am new to this, I might be having problem with a very simple issue.
I have a table which consist of date, actual_rev, hrs_available, etc.
Now what I need in the graph is for each date sum of the actual_rev/ sum of the hrs_available. And this should be done grouping of every single date so that graph shows bar of each date.
In the above example the revenue sums up to 2317.00 and the hours sums up to 15.33 , getting the revenue per hour 151.14, which should be shown in the graph for this date.

Resources