Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi guys,
I've 3 tables: A,B,C
A
B
C
Result:
the first colum (may 2023) is simple, the others are the problem.
I need to see the difference (1000€ - 370€ = 630€) in the row "liquid assets" of next month (june 2023)
The difference of june (= 430 €) --> liquid assets of july 2023
The difference of july (= 430€) --> liquid assets of august
....the same for the next months
Have you idea to do this?
Thank you 🙂
Solved! Go to Solution.
Create a Calculated Column for Differences: Create a new calculated column in your data table to calculate the differences between consecutive months. You can use a formula like this:
Difference =
CALCULATE(
SUM(A[Amount]) - SUM(B[Amount]),
FILTER(
ALL('Date'[Month]),
'Date'[Month] = EARLIER('Date'[Month]) + 1
)
)
Adjust this formula based on your actual column names and structure.
Create a Running Total Measure: Now, create a measure for the running total. This measure should accumulate the differences for each month. Here's an example:
RunningTotal =
CALCULATE(
SUM('YourTable'[Difference]),
FILTER(
ALL('Date'[Month]),
'Date'[Month] <= MAX('Date'[Month])
)
)
Again, adjust the table and column names accordingly.
Visualize the Data: Finally, use a line chart or any suitable visualization to display the running total over time. Put the Date field on the x-axis and the RunningTotal measure on the y-axis.
These steps should help you create a Power BI report that shows the running total of differences in "liquid assets" over time. Adjust the formulas based on your actual data model and requirements.
Create a Calculated Column for Differences: Create a new calculated column in your data table to calculate the differences between consecutive months. You can use a formula like this:
Difference =
CALCULATE(
SUM(A[Amount]) - SUM(B[Amount]),
FILTER(
ALL('Date'[Month]),
'Date'[Month] = EARLIER('Date'[Month]) + 1
)
)
Adjust this formula based on your actual column names and structure.
Create a Running Total Measure: Now, create a measure for the running total. This measure should accumulate the differences for each month. Here's an example:
RunningTotal =
CALCULATE(
SUM('YourTable'[Difference]),
FILTER(
ALL('Date'[Month]),
'Date'[Month] <= MAX('Date'[Month])
)
)
Again, adjust the table and column names accordingly.
Visualize the Data: Finally, use a line chart or any suitable visualization to display the running total over time. Put the Date field on the x-axis and the RunningTotal measure on the y-axis.
These steps should help you create a Power BI report that shows the running total of differences in "liquid assets" over time. Adjust the formulas based on your actual data model and requirements.
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 |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
13 | |
11 | |
8 |