cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
perezmarcone Regular Visitor
Regular Visitor

Matrix not summing my values

I have this formula and the matrix is not summing in the totals.

 

Average Holding Period = IF(FIRSTNONBLANK(Capex[Fully E. N. Leases & A. Year],TRUE()) = YEAR(TODAY()), MONTH(TODAY()),  IF(LASTNONBLANK(Capex[Fully E. N. Leases & A. Year], TRUE())  = LASTNONBLANK(Capex[Built Date],TRUE()) ,     12 - (month(average(Capex[OTHVR Actual Date])))   ,    12  ))

 

They are divided in years, but for some reason it displays 12 in the grand total.

 

option 2 horizontal.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
perezmarcone Regular Visitor
Regular Visitor

Re: Matrix not summing my values

7 REPLIES 7
jtownsend21 Member
Member

Re: Matrix not summing my values

Can you share some sample data and what visualization you are using? 

perezmarcone Regular Visitor
Regular Visitor

Re: Matrix not summing my values

I am using the matrix. but cannot share data.

jtownsend21 Member
Member

Re: Matrix not summing my values

Without sample data I am not sure how to help.

 

Please see this post: 

How to Get Your Question Answered Quickly - Microsoft Power BI Community

perezmarcone Regular Visitor
Regular Visitor

Re: Matrix not summing my values

maybe this can help? average holding period subtotal is not adding up. the dax has if statement and average of date, I dont know how thats affecting this.

 

option 1 vertical.PNG

jtownsend21 Member
Member

Re: Matrix not summing my values

Highlighted
perezmarcone Regular Visitor
Regular Visitor

Re: Matrix not summing my values

jtownsend21 Member
Member

Re: Matrix not summing my values

Great! glad you found a solution. 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 57 members 981 guests
Please welcome our newest community members: