Forum Discussion

ubaddala's avatar
ubaddala
Frequent Visitor
3 years ago

Power BI Table Visual using SSAS live connection

We are using SSAS model (live connection) to render the reports based on the model shown (other conforming dimensions are not shown here):

"002 Case Activity Date Table" is a date table with all the dates up until today.

 

The need is to have a date slicer on "002 Case Activity Date Table" and show the table visual in the PBI report satisfying the below conditions:

 

Show cases/records that have a DATE_OPENED less than or during the period selected and that have DATE_CLOSED greater than during period selected period

 

I created a calculated column 'ACTIVITY_DATE' in "001 EMS Base" as below: (not sure if this the right approach or not) and it doesn't work.

Sample data is:

IDSTATUSDATE_OPENEDDATE_CLOSED
C1OPEN01/01/2010 
C2CLOSED09/01/201212/31/2021
C3CLOSED10/01/201410/06/2016
C4CLOSED10/01/201510/01/2020
C5OPEN02/01/2017 
C6OPEN10/01/2020 

 

Any help is appreciated.

 

Thanks in advance,

Uday

3 Replies

  • ubaddala's avatar
    ubaddala
    Frequent Visitor

    Hi Amine,

    I added the calculated column to the model

  • ubaddala's avatar
    ubaddala
    Frequent Visitor

    Fine. Let's forget the calculated column.

     

    How can I :

    Have a date slicer and show the table visual in the PBI report satisfying the below conditions:

    Show cases/records that have a DATE_OPENED less than or during the period selected and those that have DATE_CLOSED greater than during period selected period