Excel Power Pivot Data Model - Custom pivot table excel

Ninh Nguyen Hoa 1 Reputation point
2021-11-17T07:40:53.647+00:00

Hi all,

  • On my power pivot there is 1 table. In this table, there are 3 columns: creation_date and disbursement_date and app_id column.
  • I need to show total apps created and total apps disbursed by month. I have already created 2 measures, #APP and #APP_DISBURSAL.
  • The problem is there are some apps created in month N but disbursed in month N+1 and I need to count this app as month N+1.
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
Microsoft 365 and Office | Excel | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Alexei Stoyanovsky 3,416 Reputation points
    2021-11-18T10:38:43.693+00:00

    From the initial description, it appears that if an app was disbursed in the month following the month of its creation, it is counted as created in the disbursement month, not creation month. The easiest way of achieving this would be a calculated column of 'adjusted creation date', based off creation and disbursement dates, holding created date if the two months are the same, and a date from disbursement month otherwise.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.