SSAS Tabular SSDT DAX Drillthrough Issue RRS feed

  • Domanda

  • Hello,

    I've come across a scenario where the drillthrough functionality is not working when multiple dates from a fact table is joined to a single date dimension.

    If I have a fact table with multiple status dates e.g. Resolved Date, Logged Date and join it to one Date dimension table, one of the relationship would be made active and to get the other inactive relationship to work I use the USERELATIONSHIP function.

    CALCULATE(SUM([ClosedFlag]),USERELATIONSHIP('Incident Metrics'[ClosedDateSID],'Date'[DateDefinitionSID]))

    The results work fine when selecting the 2 measures against the one date dimension.

    The issue I'm experiencing is when I drillthrough the measure on the InActive measure in Excel by adding the DAX in the Detail Row Expression, the drillthrough return the rows that is from the active relationship and not from the measure that was from the inactive relationship.

    How can I get the inactive measures to drillthrough correctly?

    mercoledì 13 gennaio 2021 14:57