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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Rosner_
New Member

how to substract column and measure

hello,

I have table with 10 columns 

one of the column is revenue

and I create new aggregate measure name group_sum

now I try to to substract the group_sum - revenue  and it doesn't give me right results 

tried:

sumx(tbl,(group_sum -revenue))

group_sum -revenue 

I know it's make no sense to do it, it's only for understanding how to create calculations between field from the table and the new calculated measure 

** I can only use calculated measure

any help will be appreciated 

thank you

1 ACCEPTED SOLUTION
Rosner_
New Member

thank for the reply:

I think it's  just an issue of the data and maybe because of security (at work)

I apply it in my laptop with clean data and right data type without any restrictions, it's works properly 

thank you .

View solution in original post

3 REPLIES 3
Rosner_
New Member

thank for the reply:

I think it's  just an issue of the data and maybe because of security (at work)

I apply it in my laptop with clean data and right data type without any restrictions, it's works properly 

thank you .

Anonymous
Not applicable

Hi @Rosner_,

Any update on 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

lbendlin
Super User
Super User

A measure has no meaning if nobody is there to set filters. Then it becomes just another calculated (immutable) value.

 

group_sum needs to be a calculated column.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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