Forum Discussion

LittleAnners_08's avatar
LittleAnners_08
Frequent Visitor
5 years ago
Solved

Multiply weekly Budget based on Filtered Month Selected

HI  I have several tables for monitoring budgets against spend by month. Current layout allows user to filter report using several slicers in order to review 100's of various budgets. All works fi...
  • AllisonKennedy's avatar
    AllisonKennedy
    5 years ago

    LittleAnners_08 

    The fact that you're using the KPI visual makes a BIG difference. I'm not sure how it will behave with a non-date trend. Do you have a proper Date table rather than just the Months table? If you get a Date table, you should be able to create a generic budget measure: 
    Budget = SUM(Budget[Value])

    and monthly spend measure:

    Spend = SUM(SpendTable[SpendValue])

     

    Ensure both the Budget and the SpendTable are connected to the Date table using a Date or DateKey column (even if budgets are monthly, you'll need to pick a day of the month - I use the 1st of the month) with a one to many relationship for both. Then put Calendar Month in the trend and the KPI visual will do the rest of the filtering/work for you based on the latest calendar date selected in your filter/slicer/report. 

     

    Does that make sense?