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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
diogovaz
Frequent Visitor

Calculated Fields

Hello,

 

I have these 3 tables:

Captura de ecrã 2017-09-22, às 10.58.22.png

 

 

 

 

 

 

 

 

 

 

 

I want to create a calculate field with the sum all Net Sales by Client on table CRM Client. How can I do it? Any ideas?

 

Thanks,

 

1 ACCEPTED SOLUTION

Hi,

 

The proper answer is this one: Measure = SUMX('CRM Client';'PCS Sales'[NET Value CHF Measure])

View solution in original post

5 REPLIES 5
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @diogovaz,

 

Could you please mark the proper answer as solution or share the solution if it's convenient for you? That will be a big help to the others.

 

Best Regards!
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

The proper answer is this one: Measure = SUMX('CRM Client';'PCS Sales'[NET Value CHF Measure])

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @diogovaz,

 

CALCULATE() may be needed.

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

 

Drag CRM Client ID from the CRM_client table (Table 3) and then write the following calculated field formula in the Sales table

 

=SUM(Sales[Net Sales CHF])

Untitled.png


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

Hi @diogovaz,

 

You can create measure like test = SUMX(CRM Client, Sales[Net Sales CHF]>0). Or use calculate.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.