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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
BartDekeyser
Frequent Visitor

SubTotals

Hi ,

 

I have a matrix  visual created using relationships and Lookup. 

 

BartDekeyser_0-1684761152678.png

 

When i remove Child from this visual  The Total * index recalculates as does the index and the total to sums

 

A becomes 310, index becomes 1.4 and the total becomes : 434, that isnt correct. How can i prevent that. 

I want the total to become : 132

 

Extra Information : Parent is a lookupvalue based upon Child. (We have a classification table for these matters)

 

Total and Index are measures, since date_sut has to be the same, date_pub has to be the most recent, so i had to do some recalculations.

 

I have 3 tables : 

 

1 with Child Values, 1 with index values and the third one is the classification table. 

 

Is there a possibility to adjust the total * index based upon the values selected in the visual, rather then summing it.

 

2 ACCEPTED SOLUTIONS
tamerj1
Super User
Super User

Hi @BartDekeyser 

please try 

Index * Total =
SUMX ( VALUES ( 'Table'[Child] ), [Total] * [Index] )

View solution in original post

BartDekeyser
Frequent Visitor

So Easy, thank you very much. 

View solution in original post

2 REPLIES 2
BartDekeyser
Frequent Visitor

So Easy, thank you very much. 

tamerj1
Super User
Super User

Hi @BartDekeyser 

please try 

Index * Total =
SUMX ( VALUES ( 'Table'[Child] ), [Total] * [Index] )

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.