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
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

Highlighted
jtownsend21 Member
Member

Re: Matrix not summing my values

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
Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

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

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 354 members 3,440 guests
Please welcome our newest community members: