Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Assistance Required with Relative Date measures for custom dataset

The PBI report that I'm working with doesn't have a date table to calculate measures for relative date periods. Instead, I have a dataset something similar to the first screenshot below. On the report layout, there would be only one slicer to select 'Week Starting Date'. The second screenshot below is how the tabular report layout looks like. With this dataset structure, I'm struggling to calculate the measures (displayed in the second screenshot) for the current and prior years. Your assistance in this matter would be greatly appreciated.

 

Dataset Struture:

 

 

 

 

 

 

 

 

 

 

 

 

Report Layout:  [Prior year realtive measures must have same cut off point as current year]

 

4 Replies

  • "as I believe that this would be a good learning moment for me to calculate relative time period mesures without a date table"

     

    I would respectfully disagree.  Doing time intelligence calculations without a calendar table is cumbersome, risky, and not something you should do if you want to learn Power BI.

  • Anonymous's avatar
    Anonymous
    Not applicable

    I understand. Unfortunately, that is the way the data set is. How can I calculate the measures I need without having to use Time Intelligence functions? 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Could someone please advise? 

    • Ashish_Mathur's avatar
      Ashish_Mathur
      Icon for Super User rankSuper User

      Hi,

      Creating a Date table with columns for Year, Month name, Month number and Week strt date would be absolutely imperative to solving the question.