Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

To Stop Measure Calculation for Future Months

Context: I have a measure that calculates uptime based on downtime. I wanted to show 100% of uptime for the days an application may not have downtime and created the % Uptime measure. However, for f...
  • Anonymous's avatar
    Anonymous
    2 years ago

    I actually found a solution. I created a Date table and joined to my Fact Table. I use the date from the Date table in the visual on the xaxis and use the logic above when calculating uptime.

     

    I created a flag column in the date table to check if the date is before today (since I won't have data past today from my fact table). I use the flag in the filter panel.