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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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