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! Learn more

Reply
sraj
Responsive Resident
Responsive Resident

Substraction in measure

Hi,

 

Can someone please tell me if I am subtracting it the right way between years?

 

Onsite (76.85 - 76.96) =   - 0.11

 

2020 vs 2021 onsite =

CALCULATE(
    [onsite %new],
    uv_PBI_HEARING_DATE_Detail[Year] = 2021
)
-
CALCULATE(
    [onsite %new],
    uv_PBI_HEARING_DATE_Detail[Year] = 2020
)
 
Capture 2.PNG
1 ACCEPTED SOLUTION

@sraj Well, whether it is correct or not is going to depend on your relationship between your two tables:

DATE_Detail

uv_PBI_HEARING_DATE_Detail



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

@sraj Hard to say, what does that measure bring back in a Card visual? What is [onsite %new] as in what is the calculation? Other than that, yes, you are using a minus sign, so seems like you are subtracting...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
sraj
Responsive Resident
Responsive Resident

I think I got it...thank you!!

sraj
Responsive Resident
Responsive Resident

Onsite % new is a measure

onsite %new = DIVIDE(SUM(DATE_Detail[tot_num_on_site_hrgs]),SUM(DATE_Detail[Total otv]) )

@sraj Well, whether it is correct or not is going to depend on your relationship between your two tables:

DATE_Detail

uv_PBI_HEARING_DATE_Detail



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
sraj
Responsive Resident
Responsive Resident

Its in the same table not different, the previous just got deleted.

Helpful resources

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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