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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
lastnn30
Post Patron
Post Patron

Table does not summarize

Hi

I have 3 tables and I merge them using PQ. Now I want to create a table in PowerBI which shows SalesPerson and Amount (Net).

When I creat a table, it wont summerize (add). For example, I expect Power Bi will add all Liz's transcations and give one number instead of 4. Also the Grand total is not added automatically in my table. Thank you very much.

 

SNAG-0124.jpg

SNAG-0135.jpg

PS: the Power BI file is here

 

https://drive.google.com/file/d/1XVIJgkdbRpouHIhjJv_U3GfUFp9KeLy0/view?usp=sharing

1 ACCEPTED SOLUTION

Hi,

Download the PBI file from here.  The data type of he net column was Text.  I changed it to Decimal in the Query Editor an wrote a simple SUM measure.

Hope this helps.

1.png

Also, changed one relationship (this is not required thought because you have merged data from all tables to just 1.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

6 REPLIES 6
lastnn30
Post Patron
Post Patron

Thank you very much.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ddpl
Solution Sage
Solution Sage

@lastnn30 Hi First change relationship as from Single to Both as per below snap:

 

ddpl_0-1678514054652.png

Then create measure as per below:

 

Measure  = var _S = SUM('Table (2)'[Amount])
var _C = SUM('Table (2)'[Amount]) * MIN('Table (3)'[Commision])
var _F = _S - _C
return
_F

finally  create table as per below:

Table = SUMMARIZE('Table', 'Table'[SalesPerson], "Raq" ,[Measure])
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the file 8.xlsx


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

Download the PBI file from here.  The data type of he net column was Text.  I changed it to Decimal in the Query Editor an wrote a simple SUM measure.

Hope this helps.

1.png

Also, changed one relationship (this is not required thought because you have merged data from all tables to just 1.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.