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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors