Forum Discussion

mhomol's avatar
mhomol
Icon for Helper I rankHelper I
2 years ago

Creating a mapping table based on date completed

I have a table for generating status reports.  Users can provide the date range (Reporting Start and Reporting End) of the status report and provide some contextual data, like executive summaries or analysis.  Ultimately, there are details that get pulled into this report that represent the work completed between the Reporting Start and End fields.  Users can make as many status reports as they want for date ranges, meaning that multiple status reports should be able to display the same details, if needed.  I want the details to simply show up when a status report is selected in Power BI.  I need to create a mapping table that will give me the ID of the status report table plus the ID's of any items from the work table where Date Completed is between the Reporting Start and End from the status table.  Can someone help me with the DAX structure for this table?  I can't visualize it.