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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors