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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.