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
Anonymous
Not applicable

Calculated column vs Measure

I am creating a value by dividing two columns ACT QTY Total and ACT VAL Total with each other to create Plan A$/t. However, when I divide them, first value should be 2858535/2494046 = 1.14614. I am getting 0.87 from the measure. But using ProfitBase matrix, when I divide the first two columns, with each other, the value comes to 1.14614. What could be the reason for the difference?

FYI measure def: 

 
Plan A$/t =
DIVIDE(
    calculate(SUM('Sales Detail2'[ACT QTY Total]), ALLSELECTED('Reporting Level Key'[Reporting Level Key (groups)])),
    calculate(SUM('Sales Detail2'[ACT VAL Total]), ALLSELECTED('Reporting Level Key'[Reporting Level Key (groups)]))
)

 

adambal_0-1661407986084.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous,

Can you please share a pbix or some dummy data that keep 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

ribisht17
Super User
Super User

@Anonymous 

 

Please post some sample data

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

 

Regards,

Ritesh

Anonymous
Not applicable

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.