Hi
I have a table that contains daily balances for several accounts by date. It doesn't have an entry for every date.
The user selects a date they are interested in, I would like to display each account by value on a Clutered bar chart.
I am trying to create a measure that will calculate a value. If the an entry doesn't exist for the selected date I would like the value of last entry before the selected date.
This is what I have so far but is giving me the error max has been used in a true/false expression that is used as a table filter
[Total Value] is a measure I have created and just totals the closing balance field.
here is my model
thank you for all help
Solved! Go to Solution.
Here is one approach to do it. I made a mock table called Table that doesn't have balances for every date, and a Date table that has all dates.
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Here is one approach to do it. I made a mock table called Table that doesn't have balances for every date, and a Date table that has all dates.
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
93 | |
77 | |
40 | |
32 | |
27 |
User | Count |
---|---|
128 | |
95 | |
79 | |
48 | |
41 |