Forum Discussion

marcopaz's avatar
marcopaz
Frequent Visitor
5 years ago
Solved

Running Total with Blanks

Hello,   I've been trying to do a column to show running totals for two Contracts, and the problem I am facing is that sometimes different Contracts have different PeriodDate (date that the contrac...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Mark your Date table as a date table in the model, then use this table to mean time in your visuals (by the way, you should never put any columns from your fact table on the canvas) and the measure you've shown above should work correctly. A good dimensional design (on which PBI has been founded) means  that you should have conformed dimensions and fact tables that are linked through dimensions. Also, your fact tables should be hidden from the end user. They should not be allowed to select columns from fact tables. A good fact table only stores keys to dimensions and facts (measurements). All measurements are exposed through measures and slicing is only allowed via dimensions.