Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a chart based on a running list of transfers for different funding cycles which can fall into 3 divisions. These transfers are adjustments to what we call our 'base' for the year and make up our $ expense targets - I am using a cumulative measure using MAX to sum all activity up to and before each funding cycle based on ranking to keep track of our $ expense target throughout the cycles:
I am using a stacked area chart with total value at the top (expense target) - my issue is that if a particular division does not have funding activity within a specific cycle, there is no data populated for that specific cycle/division which breaks the specific divisions line in the chart and does not provide an accurate total either. How can I return the previous cycles value for divisions that do not have funding activity within a spcific cycle?
Thank you
Hi,
Share data in a format that can be pasted in an MS Excel file. Show the expected result in a Table format.
Desired Output - sorry for double reply I was exceeding character limit
Division | Base | Budget V1 | Budget V3 | Budget V5 | 2+10 | 5+7 |
56 | 21945822 | 22546727 | 23645822 | 23645822 | 24397500 | 24397500 |
V1 | 57722623 | 56890040 | 57126040 | 58263101.5 | 63956664.7 | 65970579.7 |
V2 | 10340424 | 9891264 | 9350264 | 9350264 | 9738380 | 9738380 |
Hi Ashish,
Thank you for the reply and apologies for my delayed response - I had to wait for an updated version of Power BI to open your file.
I am running into one more issue - depending on the year, we can have cycles ranging from base all the way to 11+1 so my 'Forecast Cycle Order' table looks like this (we would like users to be able to select different years):
If I include the 2023 data I have, which has 8+4 cycle data points as well, my calendar table looks like this:
Visualization below:
How would I get the visualization to not include forecast cycles in the X-axis which do not have any activity in the selected year, given the x-axis is driven by the calendar table?
For example: The 2024 data I provided only had data points related to Base, Budget V1, Budget V3, Budget V5, 2+10, and 5+7
Thank you again
I cannot understand your question. Someone who does will help you.
Data
$ Amount | Division | Impact Year | Forecast Cycle | Cycle # |
1150000 | 56 | 2024 | Budget V1 | 1 |
150000 | V1 | 2024 | Budget V1 | 1 |
455000 | V1 | 2024 | Budget V1 | 1 |
90000 | V1 | 2024 | Budget V1 | 1 |
130000 | V1 | 2024 | Budget V1 | 1 |
(107657) | V1 | 2024 | Budget V1 | 1 |
(284886) | V1 | 2024 | Budget V1 | 1 |
(115230) | V1 | 2024 | Budget V1 | 1 |
(263419) | V1 | 2024 | Budget V1 | 1 |
(165408) | V1 | 2024 | Budget V1 | 1 |
(527738) | V1 | 2024 | Budget V1 | 1 |
(44218) | V1 | 2024 | Budget V1 | 1 |
(840420) | 56 | 2024 | Budget V1 | 1 |
(108675) | 56 | 2024 | Budget V1 | 1 |
(449160) | V2 | 2024 | Budget V1 | 1 |
(150000) | V1 | 2024 | Budget V1 | 1 |
338524 | V1 | 2024 | Budget V1 | 1 |
300000 | V1 | 2024 | Budget V1 | 1 |
36378 | V1 | 2024 | Budget V1 | 1 |
200000 | 56 | 2024 | Budget V1 | 1 |
200000 | 56 | 2024 | Budget V1 | 1 |
325000 | V1 | 2024 | Budget V1 | 1 |
(342124) | V1 | 2024 | Budget V1 | 1 |
(298733) | V1 | 2024 | Budget V1 | 1 |
(358073) | V1 | 2024 | Budget V1 | 1 |
180000 | V1 | 2024 | Budget V3 | 2 |
(505000) | V2 | 2024 | Budget V3 | 2 |
(36000) | V2 | 2024 | Budget V3 | 2 |
31000 | V1 | 2024 | Budget V3 | 2 |
150000 | 56 | 2024 | Budget V3 | 2 |
(150000) | V1 | 2024 | Budget V3 | 2 |
840420 | 56 | 2024 | Budget V3 | 2 |
108675 | 56 | 2024 | Budget V3 | 2 |
175000 | V1 | 2024 | Budget V3 | 2 |
500000 | V1 | 2024 | Budget V5 | 3 |
500000 | V1 | 2024 | Budget V5 | 3 |
24092 | V1 | 2024 | Budget V5 | 3 |
112969 | V1 | 2024 | Budget V5 | 3 |
44760 | V1 | 2024 | 2+10 | 5 |
135580 | V2 | 2024 | 2+10 | 5 |
6500 | 56 | 2024 | 2+10 | 5 |
137804 | V1 | 2024 | 2+10 | 5 |
70390 | V1 | 2024 | 2+10 | 5 |
40420 | V1 | 2024 | 2+10 | 5 |
56104 | 56 | 2024 | 2+10 | 5 |
42000 | V1 | 2024 | 2+10 | 5 |
60000 | 56 | 2024 | 2+10 | 5 |
(17064) | V1 | 2024 | 2+10 | 5 |
233865 | V1 | 2024 | 2+10 | 5 |
160500 | V1 | 2024 | 2+10 | 5 |
(14500) | V1 | 2024 | 2+10 | 5 |
50000 | V1 | 2024 | 2+10 | 5 |
28675 | 56 | 2024 | 2+10 | 5 |
200000 | V1 | 2024 | 2+10 | 5 |
148536 | V2 | 2024 | 2+10 | 5 |
(490500) | V1 | 2024 | 2+10 | 5 |
230238 | V1 | 2024 | 2+10 | 5 |
600399 | 56 | 2024 | 2+10 | 5 |
(420000) | V1 | 2024 | 2+10 | 5 |
272000 | V1 | 2024 | 2+10 | 5 |
125000 | V1 | 2024 | 2+10 | 5 |
852000 | V1 | 2024 | 2+10 | 5 |
104000 | V2 | 2024 | 2+10 | 5 |
1000000 | V1 | 2024 | 2+10 | 5 |
1335000 | V1 | 2024 | 2+10 | 5 |
1841650 | V1 | 2024 | 2+10 | 5 |
232000 | V1 | 2024 | 5+7 | 8 |
281915 | V1 | 2024 | 5+7 | 8 |
(150000) | V1 | 2024 | 5+7 | 8 |
1650000 | V1 | 2024 | 5+7 | 8 |
57722623 | V1 | 2024 | Base | 0 |
10340424 | V2 | 2024 | Base | 0 |
21945822 | 56 | 2024 | Base | 0 |
Hi @Sam_Meyer
Maybe you can try isblank() and if() function, the logical can be like if the target is blank, return the previous cycles value.
Here are links of these two function:
IF function (DAX) - DAX | Microsoft Learn
ISBLANK function (DAX) - DAX | Microsoft Learn
If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, I have tried to use a cobination of IF and ISBLANK, but the problem is without a data point for a specific Division/Forecast Cycle cross-section it seems as if the ISBLANK has no data point to evaluate. The output is the exact same. This scenario only works if I manually add a missing cross-section which I do not want to do.
As for attaching a simplified pbix - DropBox can't seem to load it after 5 hours of waiting, I can't share files outside my organization in OneDrive, and google drive can't seem to upload it either. Could I possibly email it to you lol.
If not, please check my replies to Ashish - do not want to include here because it is long. Apoligies for formatting I couldn't seem to get it right, but it's pasteable. The only imprtant logic is included in my original post and I am not sure what you mean by special examples.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |