Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Bascially, I just need a line that accumulates evenly over time(periods), and eventually end up on a total. Seems easy, but there are a few caveats.
Context:
Table 1:
Team | Period | Spending |
1 | 1 | $ 35,969.00 |
1 | 2 | $ 55,478.00 |
1 | 3 | $ 13,549.00 |
1 | 4 | $ 57,476.00 |
1 | 5 | $ 42,247.00 |
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
2 | 1 | $ 71,358.00 |
2 | 2 | $ 35,969.00 |
2 | 3 | $ 55,478.00 |
2 | 4 | $ 35,969.00 |
2 | 5 | $ 55,478.00 |
2 | ||
2 | ||
2 | ||
2 | ||
2 | ||
3 | 1 | $ 57,476.00 |
3 | 2 | $ 42,247.00 |
3 | 3 | $ 55,478.00 |
3 | 4 | $ 13,549.00 |
3 | 5 | $ 57,476.00 |
3 | ||
3 | ||
3 | ||
3 | ||
3 |
Table 2:
Team | Employee | Budget |
1 | A | $ 93,839.00 |
1 | B | $ 154,593.00 |
1 | C | $ 193,405.00 |
2 | A | $ 158,394.00 |
2 | B | $ 83,849.00 |
2 | C | $ 138,405.00 |
3 | A | $ 158,394.00 |
3 | B | $ 145,937.00 |
3 | C | $ 138,405.00 |
Requirement:
Additional thoughts:
This my first post and I've already searched for hours for a solution to this, but could not find one. I'm hoping I can get some answers from the community very soon. Thank you very much!
@questionpbi this was clearly pointed out here, and then later I asked. Good luck!
super easy would be to add another table called Period with distinct values and then connect it with both the tables and also use it on the x-axis, problem solved.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@questionpbi I think if you follow what I explained and try we will not be going back and forth. If you are asking for help I would recommend first testing the solution provided to you.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Your previous reply was "did you create the period table with up to 10 periods and then use that on the x-axis and have a relationship with the Table 1."
And I just answered with what I did...
But I think you meant to suggest that as a solution, not a question. I think you could have typed just a few more words to clearly communicate what you meant.
Either way, I'ved tried that, but ran into an unrelated issue in the actual data I'm working with.
Thank you
@questionpbi did you create the period table with up to 10 periods and then use that on the x-axis and have a relationship with the Table 1.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
No, the relationship is simply this:
The reason why it shows 10 periods in the visual is because I manually changed the range of X axis to 10. I don't usually have to do this because in the real thing, I have other data and measures in there that goes up period 10.
@questionpbi try this measure for Budget and use that for Line
Budget Measure =
DIVIDE ( SUM ( Table2[Budget] ), 10 ) * SELECTEDVALUE ( Table1[Period Column] )
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
This worked up to period 5, but doesn't run all the way to period 10, because the future periods aren't yet in the system. It would have worked if I had the future periods already in there.
Do you know a good way to generate the future periods for each year?
@questionpbi super easy would be to add another table called Period with distinct values and then connect it with both the tables and also use it on the x-axis, problem solved.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
There's no period to connect with in Table 2. If you mean something else, could you please show an example?
User | Count |
---|---|
93 | |
86 | |
68 | |
62 | |
58 |
User | Count |
---|---|
150 | |
113 | |
95 | |
80 | |
72 |