Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
I have problem where I need to use prior period closing balance as current period opening balance. Something like table below. The problem is that ADDITION column is % of opening balance and there many more other things (% and absolute values which contribute to closing balance) in real data so I can't use formulas. I literally need to use D2 for B3 value in Power BI. Is it possible?
Thank you.
Hi @georgy ,
Can you share some more information about the addition column especcially on how it returns the value based on the Opening Balance?
If the addition values was a column value you just needed to create the following two measures:
Opening Balance =
1
+ CALCULATE (
SUM ( 'Addition Table'[Addition] );
FILTER (
ALL ( 'Addition Table'[Period] );
'Addition Table'[Period] < MIN ( 'Addition Table'[Period] )
)
)
Closing period = [Opening Balance] + SUM('Addition Table'[Addition])
However this will only work if your column addition is based values you just need to define the opening balance for the first period. Being different calculation based on the percentages and other thins this need to be adjusted.
Check PBIX file attach.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi MFelix,
Thank you for a quick reply.
As mentioned additions are % of opening balance, there are losses % as well and other absolute values that change from month to month. Something like table below.
Cheers,
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |