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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.