Forum Discussion

markhoebe's avatar
markhoebe
Frequent Visitor
3 years ago

Adding targets with calculated Fiscal date

Problem: Adding target data to tables, charts, and other visuals

 

I have 2 tables with information that I would like to combine. 

 

Table 1:

 

Project ID requestGeoDateFiscal Quarter and Year
1234EMEA1 june 2023Q2 - FY23
1235EMEA6 june 2023Q3 - FY23

 

The date in this table is recognized as a date column, but as we use a different fiscal timetable, I have made a DAX function to calculate the Fiscal Quarter and Year. This is now just a text file.

 

Table 2

GeoFiscal Quarter and YearTarget
EMEAQ1 - FY2350
EMEAQ2 - FY2360
EMEAQ3 - FY2370
AMERQ1 - FY2360

The second table holds the information for the targets. This is just an Excel file with static information, with all 3 Geo (so US and APAC are also in there, but I have not added them in this example).

 

The outcome would need to be somehting like this:

 

GeoFiscal quarter and yearNumber of projectsTargetAttainment %
EMEAQ1 - FY2310050200%
AMERQ1 - FY238060133%
APACQ1 - FY23204050%

 

Can someone please point me in the right direction, because when I combine the 2 tables, it will not show the end result as I expect. 

 

1 Reply

  • The right direction is to add a calendar table to your data model.  Maintain the Fiscal calendar details in that table instead of your fact tables.