Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AlainB
Frequent Visitor

Future Account Balance Development with Fix Cost Budget Table

Hi,

 

I am a little bit stuck at moment.

 

I would like to create a Dashboard with show the future development of an Accouts Balance based on a Budget table.

Here the tables I have.

 

dCalendar
Date | Year | Month | MonthNo | Day | DayNo

 

fScheduledMovements

Description | Category | Amount | Periodicity | MonthNo (of Movement | DayNo (of Movement) | Annual Budget

fAccount

Date | Description | TransactionID | Category | Credit | Debit | Balance

 

Based on the Table fScheduledMovements I would like to create a Dashboard with shows the future development of the Balance of the Account.....I wonder if this is possible via DAX?!

If yes...can anyone give me a hint how I can calculate the future Budget Payments based on MonthNo and DayNo for the Expenses? My goal was to only create one table with one entry per Expense so I would not need to create a Table based on every single day and every year.

 

Thank you in advance for any help and ideas.

 

Regards,

 

Alain

 

 

 

1 ACCEPTED SOLUTION
AlainB
Frequent Visitor

Hi There,

Found a way myself:

 

fBudgetForcast = 
GENERATE(dCalendar; 
    CALCULATETABLE(dBudgetFixCosts;
        FILTER(dBudgetFixCosts;
            dCalendar[DayNo] = dBudgetFixCosts[RenewDayNo]);
        FILTER(dBudgetFixCosts;
            OR(
                dBudgetFixCosts[Periodicity] = "Monthly";
                AND(dBudgetFixCosts[Periodicity] = "Yearly";
                    dCalendar[MonthNo] = dBudgetFixCosts[RenewMonthNo])
            )
        )
    )
)

The Main issue for was to find the correct logic. Maybe there is a nicer way...but for the moment it works.

If anyone has a better idea how to sovle my problem, thanks in advance.

 

Regards,

 

Alain

View solution in original post

1 REPLY 1
AlainB
Frequent Visitor

Hi There,

Found a way myself:

 

fBudgetForcast = 
GENERATE(dCalendar; 
    CALCULATETABLE(dBudgetFixCosts;
        FILTER(dBudgetFixCosts;
            dCalendar[DayNo] = dBudgetFixCosts[RenewDayNo]);
        FILTER(dBudgetFixCosts;
            OR(
                dBudgetFixCosts[Periodicity] = "Monthly";
                AND(dBudgetFixCosts[Periodicity] = "Yearly";
                    dCalendar[MonthNo] = dBudgetFixCosts[RenewMonthNo])
            )
        )
    )
)

The Main issue for was to find the correct logic. Maybe there is a nicer way...but for the moment it works.

If anyone has a better idea how to sovle my problem, thanks in advance.

 

Regards,

 

Alain

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.