cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AbhishekPandey Frequent Visitor
Frequent Visitor

Re: Wrong Total

Thanks, i will give it a try.
AbhishekPandey Frequent Visitor
Frequent Visitor

Re: Wrong Total

Hi @v-yulgu-msft,

 

I have used the same calculation as shared, below are some snips. Could you please help me in this.

Here is a link to the PBIX, with some sample data.

https://www.dropbox.com/s/pfm564aq1lo3tgl/Total%20issue.pbix?dl=0

If you see in the first screenshot, it seems working fine with one dimension only, i.e Sname, the column name wrong total is sum(amount)/count(sid), the total of this calculation is incorrect, 

 

The column correct total gives the correct output and the expression used is 

SUMX(VALUES(SID[Sname]),CALCULATE(SUM(Final[Amount]))/CALCULATE(COUNT(Final[Sid])))

 

Now in the second screenshot, it gives incorrect total, when another dimension Pname is dragged along with existing dimension Sname.

 

Total issue.PNG

 

 

 

 

 

 

 

 

 

 

 

Thanks,

Abhishek Pandey

 

 

 

 

AbhishekPandey Frequent Visitor
Frequent Visitor

Re: Wrong Total

Hi, 

 

Any update on this.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 147 members 1,516 guests
Please welcome our newest community members: