Forum Discussion

lcasey's avatar
lcasey
Post Prodigy
9 years ago

Report Date

Does anyone know how to work with a report date? 

 

Every Other reporting package I have ever used includes the abiliy to choose a report date and then filter my data based on the report date.

 

With Power BI it seems there is no way to choose a report date, and then filter data based on that report date.

Is there some sort of DAX formula that would look at the slicers chosen report date and then filter based on that?

 

For Example, An End user chooses the date they want on the report and then records are filtered based on that date selected:

 

Report Date10/31/2016  
    
    
    
IDDateDesc 
110/1/2016No Data 
210/2/2016No Data 
310/3/2016No Data 
410/4/2016No Data 
510/5/2016No Data 
610/6/2016No Data 
710/7/2016No Data 
810/8/2016No Data 
910/9/2016No Data 
1010/10/2016No Data 
1110/11/2016No Data 
1210/12/2016No Data 
1310/13/2016No Data 

7 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    You should be able to do this with a slicer and have your report date table related to your other tables. 

    • lcasey's avatar
      lcasey
      Post Prodigy

      But I need a Column that calculates based on report date:

       

      =DateDiff DOCDATE , REPORT DATE

       

       

      But Report Date changes by the end user, I never Know what the user will choose

      • lcasey's avatar
        lcasey
        Post Prodigy
        Report Date10/31/2016  
            
            
            
        IDDateDescDateDif
        110/1/2016No Data30
        210/2/2016No Data29
        310/3/2016No Data28
        410/4/2016No Data27
        510/5/2016No Data26
        610/6/2016No Data25
        710/7/2016No Data24
        810/8/2016No Data23
        910/9/2016No Data22
        1010/10/2016No Data21
        1110/11/2016No Data20
        1210/12/2016No Data19
        1310/13/2016No Data18