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
Amitkr174
Helper III
Helper III

Column Subtotal not working

Hi,

I have created a Deal_Band Calculated Column, which I am putting it in a Matrix table, but the total is getting repeated.

New_Deal_Band = IF('DRID-SolutionMapping'[Net_ASV]>5000000,"5M+",
                IF('DRID-SolutionMapping'[Net_ASV]>=3000000 && 'DRID-SolutionMapping'[Net_ASV]<=5000000,"$3M-$5M",
                    IF('DRID-SolutionMapping'[Net_ASV]>=1000000 && 'DRID-SolutionMapping'[Net_ASV]<3000000,"$1M-$3M",
                        IF('DRID-SolutionMapping'[Net_ASV]>=500000 && 'DRID-SolutionMapping'[Net_ASV]<1000000,"$500K-1M",
                            IF('DRID-SolutionMapping'[Net_ASV]>=250000 && 'DRID-SolutionMapping'[Net_ASV]<500000,"$250K-$500K",
                                IF('DRID-SolutionMapping'[Net_ASV]>=100000 && 'DRID-SolutionMapping'[Net_ASV]<250000,"$100K-$250K",
                                     IF('DRID-SolutionMapping'[Net_ASV]<100000, "<100K", BLANK())))))))
 One Case is appearing is all the Deal Bands., like in the below case $15M, getting showing up  in all the DealBands. Please advise on this.
 
Amitkr174_0-1700209005163.png

 

 
9 REPLIES 9
Amitkr174
Helper III
Helper III

so how i solve this issue. Please advise.

not so easy... because for each Entry in "Top Accounts" you can have MULTIPLE (1:m) values for New_Deal_Band

 

I don't think that's what you want... ?

yes, you are right

so then you first have to change your datamodel - what do you want to achieve?

lukiz84
Memorable Member
Memorable Member

according to your picture, Top_Accounts filters DRID-Solutionmapping, not the other way around (1:m) - so when you add New_Deal_Band from DRID-SolutionMapping to your matrix, it doesn't know how to filter the data, hence showing the same value everywhere.

Amitkr174
Helper III
Helper III

 

here is the data model connected with DR ID (Many to one)

 

 

Amitkr174_0-1700215451582.png

 

lukiz84
Memorable Member
Memorable Member

we need more insight in your data model. can you show some tables you use for your matrix and the relationships between?

lukiz84
Memorable Member
Memorable Member

You sure it's a measure? Doesn't make sense, as in a measure there would be no single value for 'DRID-SolutionMapping[Net_ASV]'

Sorry, it's a calculated column.

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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