Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Troubles with Date model relationships

Hello,   I'm trying to build a report for an issue tracking database. I have a Date Lookup (or Calendar), and I made a one-way one to many relationship between Date and "CreatedDate" on the databas...
  • Icey's avatar
    5 years ago

    Hi Anonymous ,

     


     

    A strange observation I made is that a lot of the visuals are behaving as if each of the cells of my date columns were 'vector'. For instance, if I try to create a 'matrix' visual with one column being the "issue ids" and the other column being "created date", Power BI automatically creates "Earliest created date" when I put it 'created date' in  "Values". On the Query editor, dates are set to "Do not Summarize", but its still doing it by default. I also click the arrow on the field that lets me swap to: "Latest, Count, Count (Distinct)" but I have no option to simply use the actual date value.

     

    Please note that I'm obtaining this data from a PostgreSQL DB in "Import" mode (Not query). I'm suspecting that Power BI (2.88.1144.0 64-bit (December 2020)) has a bug and it is importing each cell of the data rows as a more complicated object.

     
     
     

    This is not a bug and is by design. When you put one column into the Values field of a visualization, it will be aggregated if there is no "Don't summarized" option.

      

     

     

    In addition, for other issues, could you share us a dummy .pbix file for test? Please remove sensitive information and real data.

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.