Forum Discussion

Txtcher's avatar
Txtcher
Helper V
1 year ago
Solved

Best Practice re Calendar table, Modeling, etc.

I am a beginner with Power BI. I have the following tables: - NFA Apps - HX (Apps history) - FEES - FY2024 Calendar table (which I created to contain fiscal year 2024 dates)   I need to find al...
  • v-aatheeque's avatar
    v-aatheeque
    1 year ago

    Hi Txtcher ,

    To filter visuals for only FY2024-approved applications, follow these steps:

     

    • Create a measure that checks if the application’s license issuance date falls between September 1, 2023, and August 31, 2024. If so, it returns 1 (approved for FY2024), otherwise 0. 
    • Add the Is FY2024 Approved measure to the visual-level filters of your matrix and set it to show only records where the value equals 1.
    • To calculate the days between the "Submitted and Paid" and "Response Required" dates, ensure both dates are not blank and that the start date is less than or equal to the end date. If these conditions hold, use the DATEDIFF function to calculate the days.
    • Use the CALCULATE function with the AVERAGE function to calculate the average of the "Days Submitted to Response" measure, but only for records where the application is approved for FY2024.

     

    This ensures that your milestones and averages are correctly filtered for FY2024-approved applications.

    Hope it helps!

    If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.

    If you continue to face issues, feel free to reach out to us for further assistance!