Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
Can anybody tell me what's wrong with my running total? Why doesn't it aggregate when I have different Currency LCU?
Can anybody tell me how to solve it? When I remove Currency LCU there is no problem.
BR
Lotte
Hi @LotteLaugesen ,
Please use ALLEXCEPT() function on [Current LCU]
Acc. DKK Amount =
VAR RT =
IF (
[DKK] <> BLANK (),
CALCULATE (
'Misc calc'[DKK],
ALLEXCEPT ( 'table', 'table'[Current LCU] ),
FILTER (
ALLSELECTED ( 'Dim Calendar' ),
'Dim Calendar'[Date] <= MAX ( 'Dim Calendar'[Date] )
)
)
)
RETURN
RT
Best Regards,
Jay
Hi @Anonymous
Unfortunately it just made it worse 😉
HI @LotteLaugesen
Try to add ALL ( TableNam[Currency LCU] ) inside the CALCULATE function.
Hi @tamerj1
Thanks - It almost works 🙂
The first 2 lines are adding up, but below you can see that 2 other lines are not
Have you got any more other ideas?
In this case use
ALLSELECTED ( TableNam[Currency LCU] ) inside the CALCULATE function.
please try
Acc. DKK Amount =
VAR RT =
IF (
[DKK] <> BLANK (),
CALCULATE (
[DKK],
ALLSELECTED ( FT_ARAP_Invoices ),
REMOVEFILTERS ( 'Dim Calendar' ),
'Dim Calendar'[Date] <= MAX ( 'Dim Calendar'[Date] )
)
)
RETURN
RT
@tamerj1 thank you for your time, but it didn't make any difference.
The final result is correct so right now I will go with this 😉
@LotteLaugesen
Last trial
Acc. DKK Amount =
VAR CurrentDate =
MAX ( 'Dim Calendar'[Date] )
VAR RT =
IF (
CurrentDate <> BLANK ()
&& [DKK] <> BLANK (),
CALCULATE (
[DKK],
ALLSELECTED ( FT_ARAP_Invoices ),
REMOVEFILTERS ( 'Dim Calendar' ),
'Dim Calendar'[Date] <= MAX ( 'Dim Calendar'[Date] )
)
)
RETURN
RT
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |