Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Table Totals Wrong for Measure

I have burned a ton of hours reasearching and testing posted solutions and cannot seem to get the total on a measure for a Table visualization to come out right. The detail row values are exactly rig...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I found another way to solve this problem by bringing the daily revenue number into the Fact table then doing a simple CALCULATE function to ignore the date slicer on the page as:

    Lost Revenue = 0 + CALCULATE(SUM('Fact Daily Inventory'[Daily Revenue]), 'Fact Daily Inventory'[EquipmentStatusCode] IN {"D", "N"}, ALL('Dim Date'[CalendarDate]))

     

    Once I did this, the table computed the totals correctly.