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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
CS12345
Regular Visitor

Power BI Calculation

Guys.

 

Sorry for asking. I have a Data which is total production by month and i which to do it total production by month - the NCR of the month.

 

Anyone know wat formula should i key in in New Measure?

 

CS12345_0-1709272488371.png

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @CS12345,

It seems like your field are text value which cannot be processed by aggregation functions. I'd like to suggest you convert them to numeric value before you calculate on it.

If you not so clarify how to handle this, can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
CS12345
Regular Visitor

Hi @Gayatri_D05 

 

Let give a example, I have a monthly total production number of 315 in feb and my ncr for feb is 1 case.

 

Thus 315-1= 314.

 

I wanted the formula total prodcution - total of ncr in the month.

 

Thanks

Gayatri_D05
Resolver II
Resolver II

Hi @CS12345 ,
I didnt get you question, Could you please elaborate a bit.

I had try to key in the formula.

 

Unfortunately it pop out this

CS12345_0-1709279231047.png

 

Anonymous
Not applicable

Hi @CS12345,

It seems like your field are text value which cannot be processed by aggregation functions. I'd like to suggest you convert them to numeric value before you calculate on it.

If you not so clarify how to handle this, can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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