Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Solle
Helper III
Helper III

Total for percentage calculation

Hi, 

I am struggeling a bit with calculating the totals across all my "aktivklasse" as I have a date filter, which should be taken into account. 

Solle_0-1678188094976.png
I have tried to using this formula, but with no effect.

MV Ultimo inkl. Accrued Interest Total =
Calculate(
    SUM(FactAfkast[MV Ultimo inkl. Rente]),
    ALLSELECTED(DimDate[Date])
)

What I want to achive is
AktivklasseMV Ultimo inkl. accrued interestMV Ultimo inkl. Accrued Interest Total
Asset Class 115.202.495.840,0535.762.346.770,72
Asset Class 24.395.622.891,9035.762.346.770,72
Asset Class 37.591.033.319,9835.762.346.770,72
Asset Class 41.257.104.088,7635.762.346.770,72
Asset Class 54.597.048.681,1335.762.346.770,72
Asset Class 661.798.625,1435.762.346.770,72
Asset Class 72.657.243.323,7635.762.346.770,72


Hope someone can help me out.

Best Regards,

 

1 ACCEPTED SOLUTION

hi @Solle 

how about this:

MV Ultimo inkl. Accrued Interest Total =
Calculate(
    SUM(FactAfkast[MV Ultimo inkl. Rente]),
    ALL(FactAfkast),
    ALL(DimDate),
    VALUES(DimDate[Date])
)

 

View solution in original post

4 REPLIES 4
FreemanZ
Super User
Super User

hi @Solle 

try simply:

MV Ultimo inkl. Accrued Interest Total =
SUM(FactAfkast[MV Ultimo inkl. Rente])

 

or?

hi @FreemanZ

Thank you for your response - Unfortunately this does not solve the problem. 

Do you have any other suggestions?

hi @Solle 

how about this:

MV Ultimo inkl. Accrued Interest Total =
Calculate(
    SUM(FactAfkast[MV Ultimo inkl. Rente]),
    ALL(FactAfkast),
    ALL(DimDate),
    VALUES(DimDate[Date])
)

 

Hi @FreemanZ,

Appreciate your help this seems to have solved the issue. 

Thank you and have a nice day 🙂

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.