Forum Discussion

alexcatala's avatar
alexcatala
Icon for Helper IV rankHelper IV
1 year ago
Solved

Filter latest Year values blank

Good afternoon,   Recently, I was updating my Dashboard and a strange thing happened. I was trying to filter the latest sales for 2025, but all came back blank, all sales, filters by Region, countr...
  • v-sgandrathi's avatar
    1 year ago

    Hi alexcatala,

     

    Thank you for bringing to our attention the issue concerning blank results when applying filters for the year 2025 in your sales dashboard. After a thorough review of your DAX logic and the underlying data model structure, we have identified a probable root cause contributing to this unexpected behavior.

    To validate the output of the [BoP Date] measure, we recommend adding a card visual to your report to display its current value. Once this visual is in place, apply a filter for the year 2025 and observe the result. If the card returns a blank value or displays a date that does not fall within the 2025 calendar year, this would confirm that [BoP Date] is not resolving correctly within the applied filter context and is likely the root cause of the blank sales data.

    To address this, we suggest implementing a fallback mechanism within your DAX logic to ensure [BoP Date] does not return a blank.

    This approach ensures that in the absence of a valid [BoP Date], the calculation will default to the current date, allowing the measure to continue functioning as expected.

    Please ensure that there is an active one-to-many relationship between d_DateTable[Date] and f_DailySales[Date]. We also recommend temporarily removing any filters on Region, Country, or StoreType to isolate and further validate the behavior.

     

    If this solution worked for you, kindly mark it as Accept as Solution and feel free to give a Kudos, it would be much appreciated!

     

    Thank you.