Forum Discussion

JustDavid's avatar
JustDavid
Helper IV
1 year ago
Solved

Active and Inactive Relationship - Display Chart on Inactive Relationship

Power BI Experts,   I'm trying to create a chart where the x-axis comes from the tblData based on the 'Close Date' that's in tblLots_by_CloseDate, but by taking the values (i.e. Counts, SUM, CALCUL...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi JustDavid 

     

    Thanks for the reply from lbendlin .

     

    Is the following result you want? If so, please refer to the measure below and the attachment.

     

     

    Total Amount by Start Date = 
    VAR Startdate = 
    CALCULATETABLE(
        VALUES(tblLots_by_CloseDate[Start Date]),
        ALL(tblLots_by_CloseDate),
        'tblLots_by_CloseDate'[Close Date] = MAX('tblLots_by_CloseDate'[Close Date])
    )
    RETURN
    CALCULATE(
        SUM(tblProforma_Indexing[Amount]),
        ALL(tblProforma_Indexing),
        'tblProforma_Indexing'[Date] IN Startdate
    )

     

     

    In my test, there is no active relationship between several tables. If there are still problems, please feel free to let me know.

     

    Best Regards,
    Yulia Xu

     

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