Forum Discussion

Rbakker888's avatar
Rbakker888
Helper II
1 year ago
Solved

Filtering issue

Hi so I have an issue with my dashboard, the issue is as follows: On the left picture you can see at the bottom 2 cards, the left one displays costs and the left one displays how much mone...
  • rajendraongole1's avatar
    rajendraongole1
    1 year ago

    Hi Rbakker888 -In such case,create a measure that explicitly calculates the filtered values for each table

     

    Order Marge Bedrag Uren =
    VAR OrderAmount =
    CALCULATE(
    SUM(fact_Orders[Order verkoop per periode]),
    -- apply filter manually if needed, e.g. only for specific category or product
    ALLSELECTED(fact_Orders) -- or use your dimensions here
    )

    VAR LabourCost =
    CALCULATE(
    SUM(fact_Uren[ArbeidskostenTotaal]),
    -- apply the same filter logic
    ALLSELECTED(fact_Uren)
    )

    RETURN
    OrderAmount - LabourCost

     

    check the above and let us know.