Forum Discussion

BishwaR's avatar
BishwaR
Helper V
5 years ago
Solved

Time Dimension Table

I have a Time Dimension table from 2019 through 2020. But my fact table does not have a continuous date. So when I use the Time Dimension in the date slicer it shows all the dates which are not even present in the fact table. As a result I get some blank results in the visualization. My question is how can I sync the dates in Time Dimension and the fact table so that every date in the slicer returns a record. Thanks

  • Jimmy801  Thank you for the quick response. When I tried that I realised that my fact table does not have the continous time line. It jumps the date. And when I use the time dimension table in the slicer it gives a continous dates and some dates returns blank valuse in the visualization becuase there is no corresponding date in the fact table

6 Replies

  • Jimmy801's avatar
    Jimmy801
    Community Champion

    Hello BishwaR 

     

    you could create the time dimension table in power query, using the distinct values of your table as a starting point. Then adding other information as week number or whatever you need

     

    If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
    Kudoes are nice too

    Have fun

    Jimmy

  • Jimmy801  Thank you for the quick response. When I tried that I realised that my fact table does not have the continous time line. It jumps the date. And when I use the time dimension table in the slicer it gives a continous dates and some dates returns blank valuse in the visualization becuase there is no corresponding date in the fact table

    • Jimmy801's avatar
      Jimmy801
      Community Champion

      Hello BishwaR 

       

      therefore I wrote you should create your time dimension out of your time-column of your facttable. Then your dimension contains only dates from your facttable

       

      If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
      Kudoes are nice too

      Have fun

      Jimmy

      • Jimmy801's avatar
        Jimmy801
        Community Champion

        Hello BishwaR 

         

        so did my suggestion solve the problem?

         

        BR

         

        Jimmy