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
aboileau
Frequent Visitor

How to add a constant target across time - Matrix

Hi All!

 

I'm trying to make a target row in my matrix to track exams relative to this target that is constant throughout time.

I made a table where the constants are located.

aboileau_0-1697659784370.png

I want them to reside where it says exam shifts by location. There is no time on this table as I want it constant throughout time.

aboileau_1-1697659890931.png

 

1 ACCEPTED SOLUTION
Abhinav054
Helper I
Helper I

Ok, then create a Constant Measure 

Constant = VAR LocationName = MAX(Table1[Location Name])
RETURN Table2[Target]

View solution in original post

4 REPLIES 4
Abhinav054
Helper I
Helper I

Ok, then create a Constant Measure 

Constant = VAR LocationName = MAX(Table1[Location Name])
RETURN Table2[Target]

Amazing Thank you so much!!!

 

Abhinav054
Helper I
Helper I

hii, once try this

  1. Create a new row in your matrix and label it "Target."
  2. In the "Target" row, enter the constant value that you want to use to track exams relative to.
  3. To calculate the relative difference between the actual number of exams and the target, use the following formula:

    Relative difference = (Actual number of exams - Target) / Target

  1. Enter the relative difference values into the "Exam Shifts" column for each location.

Hi! Thank you.

So what I'm looking for in the first table is my constants (1 target for each location that holds true across weeks) as I have multiple locations and multiple targets. That table is connected via my Location Name.

I'm trying to get a measure that has the constant appear each week across all weeks given there is no date on that table. 

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