Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Dateslicer not counting correctly

Hi! I am having trouble and I am not sure if it has to do with DAX or data modelling.  I have 4 tables as shown below: - Date (created by me to show all dates between 1.1.2021 to 31.12.2023) Wi...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous,

    When you build the relationship between power bi data model tables, these not-match records will be mapped at the 'blank' options. I'd like to suggest you create a complete calendar table and map other table fields with 'star schema'.

    Understand star schema and the importance for Power BI - Power BI | Microsoft Docs

    In addition, since you are working with 'direct query' mode that has limited the Dax function usage for creating calculate column/table, you may need to create this table at your datasource side.

    Regards,

    Xiaoxin Sheng